0

I made arduino-stack which consists of arduino r3, robotdf motor shild and robotdf lcd shield. But motor shield and lcd use same pins 4 and 5, so we have a conflict of pins. Can i use other pins?

4
  • 1
    Nope. Welcome to shields. Nov 5, 2014 at 8:40
  • @IgnacioVazquez-Abrams it would be possible if you modify the shield right? cutting through a wire, solder it to another pin?
    – T J
    Nov 5, 2014 at 8:42
  • 1
    Technically you can rewire the shield. But this is a physical change, and different combinations of shields will require different rewiring. In the end you may be better off just using breakout boards instead. Nov 5, 2014 at 8:45
  • @IgnacioVazquez-Abrams this variant is ok for me, thanks Nov 5, 2014 at 18:23

1 Answer 1

0

Stack one shield on top of the Arduino itself and connect the other shield using wires. This way you can pick your own pin assignment for the 'external' shield.

Be careful when using a specific library though, sometimes the used pins are hard-coded in the library itself. Modifying the .h and .cpp files for the library is possible, so you could (hard code) assign your own used pins.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.