http://www.instructables.com/id/Intro-a ... oull-need/
I opened up AFMotor.h and AFMotor.cpp hoping I could just change a pin number, but it looks more complicated than that, as the code was written for the machine, not a n00b programmer like me.
I have this board:
and this arduino:
This is why I need to move pin 7 (from Arduino main page):
USB Host: MAX3421E. The MAX3421E comunicate with Arduino with the SPI bus. So it uses the following pins:
Digital: 7 (RST), 50 (MISO), 51 (MOSI), 52 (SCK).
NB:Please do not use Digital pin 7 as input or output because is used in the comunication with MAX3421E
Non broken out on headers: PJ3 (GP_MAX), PJ6 (INT_MAX), PH7 (SS).
Is moving around pin 7 in code even possible? If so, is it feasible? it looks to me like it's kind of important and would be hard to move or replace. I did try to head this off at the pass by looking up pin numbers and all, but it seems I missed this one. Thankfully I found it before I started trying to get everything working.
The project is an OWI 535 arm on a roomba, and there will be an onboard android phone. Since I'm still testing, the USB is used for bluteooth, and I'll bring the Android in later.