Arduino Leonardo Motor

Hello, I have this connection with this code, and I cannot get both the wheels to move forward. I am getting one forward and one backward. Any suggestions?



Swap the red and black wires over on one motor.


Thank you, it worked. Will this have any effect on the motors when I code it to turn, etc.?

If you don't have encoders on the wheels, it won't go completely straight, whatever.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.