starting pwm for motor code