The final goal is to press a button, have the wheels spin forward for a certain distance and stop. Press the button again and the wheel spins backwards the same distance.
Can someone point me in the right direction of how to hookup each motor to the motor driver, and any resources for the coding part? Thanks
I saw that, but I was just confused on how it supposed to work. I was wondering if the power and ground wires are connected to BOUT1 and BOUT2. I would do the same thing for the other motor. I'm still new to the world of Arduino so its been tough to figure this out on my own.