create command DIRE and PWM for motor 1 and 2.
-need to be tested.