-
Notifications
You must be signed in to change notification settings - Fork 349
Error: "AF_Stepper" does not name a type #2
Comments
The AFMotor_ConstantSpeed and AFMotor_MultiStepper examples appear to be dependent on a second Arduino library, AccelStepper, available here: https://github.com/adafruit/AccelStepper |
Yeah, I've got that installed too. No dice. I'll keep poking at it over the next few days and let you know what I find. Thanks for the reply. |
Puzzling. I've got both installed, code builds OK on Arduino 1.0 final. I did edit both just a couple days ago for 1.0 compliance. Are you using a freshly-downloaded version of the lib? |
Problem must be on my end, then. Apologies. I downloaded both libraries today. I'll do a reinstall just in case. |
Still having trouble. Posting screen vid at link below. Would be grateful for any help. Final project due soon! |
Ah! Noticed the libraries are in a folder "arduino/library", which looks like it's inside a DropBox folder, yeah? They should be in ~/Documents/Arduino/Libraries (plural, upper case). Create that folder (if it's not already there) and move or copy both libraries there, then restart the Arduino IDE; stuff should build. If that all works "the kosher way," then you can try Plan B: It should be okay to keep library code in a DropBox folder, but there's a trick to it: you need to create soft links from the Documents/Arduino/Libraries folder from the command line, Finder aliases won't do! e.g. in Terminal: cd ~/Documents/Arduino/Libraries Lemme know if that all works, and I'll mark the issue closed. Thanks! |
THanks for your continued help. I tried both ways and still didn't work so I moved my default Sketch folder out of the Dropbox and into the ~/Documents/Arduino folder and it compiled. I won't have my auto back-ups nice and neat like before - but at least the library will work! |
Got this error when attempting to verify "AFMotor_ConstantSpeed" example file. Is this a compatibility issue with Arduino 1.0-rc2?
M.Epler
The text was updated successfully, but these errors were encountered: