Quote:
|
Originally Posted by Idaman323
So as long as I hav ethat included it should work?
|
Depends.
On our bot last year, the motors were placed such that we had to reverse motor output to one side.
So,
Code:
pwm01 = p1_y; //put the joystick input to motor output directly
pwm02 = 255-p2_y; //reverse this motor
worked. You might need this depending on how your gearboxes/motors are put in. I'm guessing you'll have to reverse one (try which one) of the motors.
And this is, of course, assuming you are using one motor for left drive and one motor for right drive (no more no less).