Create motorCode1D