When I try to verify the StepperTest Sketch on the Arduino IDE. I get the message: 'Adafruit_MotorShield' does not name a type'
along with the following information.
StepperTest:16: error: 'Adafruit_MotorShield' does not name a type
StepperTest:22: error: expected constructor, destructor, or type conversion before '*' token
StepperTest.ino: In function 'void setup()':
StepperTest:29: error: 'AFMS' was not declared in this scope
StepperTest:32: error: 'myMotor' was not declared in this scope
StepperTest.ino: In function 'void loop()':
StepperTest:37: error: 'myMotor' was not declared in this scope
StepperTest:37: error: 'FORWARD' was not declared in this scope
StepperTest:37: error: 'SINGLE' was not declared in this scope
StepperTest:38: error: 'BACKWARD' was not declared in this scope
StepperTest:41: error: 'DOUBLE' was not declared in this scope
StepperTest:45: error: 'INTERLEAVE' was not declared in this scope
StepperTest:49: error: 'MICROSTEP' was not declared in this scope
StepperTest Sketch will not Verify on the IDE.
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- stuckstr
- Posts: 1
- Joined: Tue Jul 01, 2014 1:28 pm
- adafruit_support_bill
- Posts: 88155
- Joined: Sat Feb 07, 2009 10:11 am
Re: StepperTest Sketch will not Verify on the IDE.
The compiler was not able to find the library in the expected location. Make sure it is installed according to these instructions:Adafruit_MotorShield' does not name a type
http://learn.adafruit.com/adafruit-all- ... nstall-use
Please be positive and constructive with your questions and comments.