The thing I am having trouble with is that I have the header file in the Library folder for the IDE, but I try to import it it just gives me a blank line. I opened one of the sketches it says there is not a header file for Adafruit_VS1053, even though it has
The header file is in the directory, but when I compile or try to import the library it either says it is not in the directory or just creates a blank line
This is the error message:
Arduino: 1.5.8 (Windows 7), Board: "Arduino Mega or Mega 2560, ATmega2560 (Mega 2560)"
player_simple.ino:17:29: fatal error: Adafruit_VS1053.h: No such file or directory
compilation terminated.
Error compiling.
This report would have more information with
"Show verbose output during compilation"
enabled in File > Preferences.
Attachments
vs1053 sketch problem.png (131.77 KiB) Viewed 1267 times
Have you restarted the Arduino IDE since you put the Adafruit_VS1053 library in sketchkook/libraries?
The IDE only looks for headers at startup, so any libraries you add while it's running remain unseen, even though the files are where they're supposed to be.
Also make sure you've trimmed the '-master' off the name of the directory that contains the .h and .cpp files. The IDE will ignore any directory whose name contains anything other than letters, numbers, or underscores.
Apparently when I unzipped it there was an extra folder (the library was in a folder labeled "Adafruit_VS1053" which was in a folder of the same name) that I added to the library. It seems to work now. Funny that that was all it was.