|
Inverting the direction of a Motor
I know this has probably been answered several times elsewhere in the forums, but I can't for the life of me find where.
I am trying to reverse a motor in software. I have two motors connected to a single axle and want to reverse one of them. I want to use the y axis of joystick no. 2.
I realize that the same thing could be accomplished by reversing the + and - wires on one of the motors but IMHO it is better to do this in the code.
Thanks,
Tom
|