I got my hands on an arduino uno, adafruit motor shield and usb host shield. But the problem is, that the two shields share one pin, pin 12. I was thinking of rerouting the pin to pin 2. My question is: what do I need to change in the AFMotor.h file to make it work? I've already tried something but I want to make sure that it works properly. Is it also necessary to change something in the AFMotor.cpp file?
What I think needs to be changed:
// Arduino pin names for interface to 74HCT595 latch #define MOTORLATCH 12 #define MOTORCLK 4 #define MOTORENABLE 7 #define MOTORDATA 8
I think MOTORLATCH 12 will be MOTORLATCH 2, am I correct?