Quote:
Originally Posted by Mark McLeod
To reverse one side do this:
pwm01 = p1_y;
pwm02 = 255-p2_y;
If that reverses the wrong side then do the opposite:
pwm01 = 255-p1_y;
pwm02 = p2_y;
|
Or you can switch the leads on the speed controller of the motor which is going in reverse direction.