Hi,
I can run a stepper with no problems using the current v2 Adafruit_MotorShield library, so I believe that everything is installed and connected correctly. I am running the motor on the M3 & M4 pairs.
But, I wanted to use the non-blocking version of the code, so I got the AccelStepper library.
I started with the simplest example code: AFMotor_ConstantSpeed
First thing, the sketch wants AFMotor.h, the current version of the Adafruit_MotorShield library has Adafruit_MotorShield.h, not AFMotor.h.
I tried backing the Adafruit_MotorShield library to the older one, it compiled, but it would not spin the motor. I tried the default motor pin def (4, 2,3,4,5) and then (4,6,7,8,9), neither worked.
I get the impression that AccelStepper wants an older version of Adafruit_MotorShield, but that code won't work on my UNO R3 with Motorshield 2.0.
Did I miss something, or is then an updated library, or am I out of luck for a non blocking stepper library?
Thanks!
Steve