I am new to Teensy but used arduino uno before and had the Uno and the Wave shield working playing audio files or parts of files depending on what was happening on the inputs of various I/O pins.
I tried compiling the sketch with the board set as Teensy3.1 and got the following error
C:\Program Files\Arduino\libraries\WaveHC\WaveHC.cpp:41:4: error: expected constructor, destructor, or type conversion before '(' token
Is there anywhere I can get documents that list these types of error and how to compare devices and correct them. What does the 41:4 mean. Below is copy of line 41 in WaveHC.ccp...???
// timer interrupt for DAC
ISR(TIMER1_COMPA_vect) {
When I set the board as Teensy2 I dont get the error and the sketch compiles and brings up the teensy loader. I dont have a teensy 2 to try if it works. I assume it wouldnt work in teensy3.1. I have a Teensy3.1 and need it to work on 3.1.
I assume the problem is calling things by the correct name and using the correct pin outs etc
Is there a folder somewhere of Teensy library files or has Teensy just modified the existing Arduino library files..??
Any help appreciated, Thanks
I tried compiling the sketch with the board set as Teensy3.1 and got the following error
C:\Program Files\Arduino\libraries\WaveHC\WaveHC.cpp:41:4: error: expected constructor, destructor, or type conversion before '(' token
Is there anywhere I can get documents that list these types of error and how to compare devices and correct them. What does the 41:4 mean. Below is copy of line 41 in WaveHC.ccp...???
// timer interrupt for DAC
ISR(TIMER1_COMPA_vect) {
When I set the board as Teensy2 I dont get the error and the sketch compiles and brings up the teensy loader. I dont have a teensy 2 to try if it works. I assume it wouldnt work in teensy3.1. I have a Teensy3.1 and need it to work on 3.1.
I assume the problem is calling things by the correct name and using the correct pin outs etc
Is there a folder somewhere of Teensy library files or has Teensy just modified the existing Arduino library files..??
Any help appreciated, Thanks