StepperTest Sketch will not Verify on the IDE.

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
stuckstr
 
Posts: 1
Joined: Tue Jul 01, 2014 1:28 pm

StepperTest Sketch will not Verify on the IDE.

Post by stuckstr »

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

User avatar
adafruit_support_bill
 
Posts: 88155
Joined: Sat Feb 07, 2009 10:11 am

Re: StepperTest Sketch will not Verify on the IDE.

Post by adafruit_support_bill »

Adafruit_MotorShield' does not name a type
The compiler was not able to find the library in the expected location. Make sure it is installed according to these instructions:
http://learn.adafruit.com/adafruit-all- ... nstall-use

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”