Tonight I got my v2 adafruit motor shield. After soldering on the pins and hooking up a stepper, I tested it with a regular arduino. Works great.
I ported the library last week and got it compiling, but it’s turning out not to be as simple to get working on the spark core as plugging it into the shield shield. I noticed that the motor shield expects i2c SDA to be on pin A4 and SCL to be on pin A5, but the sparkcore’s SDA and SCL is on D0 and D1 respectively. (A4 and A5 are not even connected on the shield-shield) So I ran a jumper wire between A4->D0 and A5->D1.
Still no dice. I’m not sure if the spark core is even finding the i2c device. I’ve been digging through the adafruit library code tonight trying to see if I noticed anything.
I’m starting to think this is a good opportunity to finally purchase a good logic analyzer so I can see what’s going on.
I’ll keep messing with it and post my progress here as I go. Any suggestions are welcome.
Adafruit Motor Shield V2 LIbrary: