I am using my robojax l293d motor driver shield with an ir remote while testing my code, so that I can use my homemade radio remote once I've got IR working.
But sadly I have run into a problem: When I click the button on my IR remote everything prints to the serial monitor correctly but the motor does not run.
-Made sure my wiring is correct
-tested the motor on just a basic code to run dc motors(It works fine then)
-Checked if I had external power on(I do)
-Checked my wiring dozens of other times
Here's my code:
What version of the IRremote library are you using? That code is for an older version (<3.0) of the IRremote library. Look at the IRremote git hub page to see how to use the newer version of the library.
As you can see, in the manual for the shield, pin 6 is used by the shield. Looks like the analog inputs are free, though. The analog inputs are really digital pins with analog in as a special function so you can use one of them for the IR decoder. When used as digital pins they can be referred to as pin 14 - 19 instead of A0 - A5.