I’m trying to get this code to work but for some reason the buttons are doing nothing.
Please remove the advertisement from your forum posts.
Please read the forum rules for presenting code.
Check the input voltages with a DVM or the like.
I was wrong about my previous statement. The L293D is not reversable but in your circuit you can reverse it if you are using 5V for both logic (Vcc1) and power (Vcc2) .
You forgot to connect Vcc2 (pin 8 of the L293D) to +5V.
Regards to @TomGeorge .
From your picture it appears the buttons are wired wrong. A schematic would be much easier to follow then the frizzy thing. Use your volt meter and see if the voltage switches from 5V to Ground when you press the button, if not miswire confirmed.
Do you have a DMM to measure some voltages?
Had the enabler set up wrong thank you
So your code now works?
Yeah all good thanks
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.