brandonlynne
New member
Hi. I'm trying to use the ada fruit VS1053B breakout board (http://www.adafruit.com/products/1381).
It's pretty cool, as it has the VS1053 and a micro sd breakout on the same card. It works great with my Arduino Uno r3 and Teensy 2.0 boards, but I've been transiutionaing to the Teensy 3.0 board fro a project, and the code no longer compiles (presumably b/c the processor is different on the Teensy 3.0). Here's a link to the github code/examples: https://github.com/adafruit/Adafruit_VS1053_Library
I'm not sure if there is something "simple" that can be done to adapt the Adafruit code to work on the Teensy3 board (it's above my head at this point). Does anyone have an idea? (Bonus Question: does anyone know if I can turn on line numbers in the arduino IDE?)
Here's the specific error list from the arduino IDE:
/Users/brandon/Documents/Arduino/libraries/Adafruit_VS1053_Library/Adafruit_VS1053.cpp:20:7: error: expected constructor, destructor, or type conversion before '(' token
/Users/brandon/Documents/Arduino/libraries/Adafruit_VS1053_Library/Adafruit_VS1053.cpp: In member function 'boolean Adafruit_VS1053_FilePlayer::useInterrupt(uint8_t)':
/Users/brandon/Documents/Arduino/libraries/Adafruit_VS1053_Library/Adafruit_VS1053.cpp:54:5: error: 'OCR0A' was not declared in this scope
/Users/brandon/Documents/Arduino/libraries/Adafruit_VS1053_Library/Adafruit_VS1053.cpp:55:5: error: 'TIMSK0' was not declared in this scope
/Users/brandon/Documents/Arduino/libraries/Adafruit_VS1053_Library/Adafruit_VS1053.cpp:55:15: error: 'OCIE0A' was not declared in this scope
It's pretty cool, as it has the VS1053 and a micro sd breakout on the same card. It works great with my Arduino Uno r3 and Teensy 2.0 boards, but I've been transiutionaing to the Teensy 3.0 board fro a project, and the code no longer compiles (presumably b/c the processor is different on the Teensy 3.0). Here's a link to the github code/examples: https://github.com/adafruit/Adafruit_VS1053_Library
I'm not sure if there is something "simple" that can be done to adapt the Adafruit code to work on the Teensy3 board (it's above my head at this point). Does anyone have an idea? (Bonus Question: does anyone know if I can turn on line numbers in the arduino IDE?)
Here's the specific error list from the arduino IDE:
/Users/brandon/Documents/Arduino/libraries/Adafruit_VS1053_Library/Adafruit_VS1053.cpp:20:7: error: expected constructor, destructor, or type conversion before '(' token
/Users/brandon/Documents/Arduino/libraries/Adafruit_VS1053_Library/Adafruit_VS1053.cpp: In member function 'boolean Adafruit_VS1053_FilePlayer::useInterrupt(uint8_t)':
/Users/brandon/Documents/Arduino/libraries/Adafruit_VS1053_Library/Adafruit_VS1053.cpp:54:5: error: 'OCR0A' was not declared in this scope
/Users/brandon/Documents/Arduino/libraries/Adafruit_VS1053_Library/Adafruit_VS1053.cpp:55:5: error: 'TIMSK0' was not declared in this scope
/Users/brandon/Documents/Arduino/libraries/Adafruit_VS1053_Library/Adafruit_VS1053.cpp:55:15: error: 'OCIE0A' was not declared in this scope