For some reason my main sketch is not turning the right motor. No matter which move function is called it simply will not turn the right motor. It’s not a wiring issue because when I upload the test motor sketch both motors turn just fine. I have tried to disconnect the sensors to make sure its not just a power issue, I have also applied the L293D with its own power supply on the +Vmotor pin( pin 8 ) yet the motor still does not turn. Code is attached. Any ideas?
MainRobotCode.txt (5.35 KB)
testMotor.txt (674 Bytes)