Hi, I am having issues with using your library with Arduino IDE 2.0.4. When I want to make use of the examples, like "02_Voltmeter", I am getting the following errors.
C:\Users\phili\AppData\Local\Arduino15\libraries\talkie\Talkie.cpp: In member function 'int8_t Talkie::sayQ(const uint8_t*)':
C:\Users\phili\AppData\Local\Arduino15\libraries\talkie\Talkie.cpp:173:12: error: 'ISR_RATIO' was not declared in this scope
173 | nextData=ISR_RATIO;
| ^~~~~~~~~
C:\Users\phili\AppData\Local\Arduino15\libraries\talkie\Talkie.cpp: At global scope:
C:\Users\phili\AppData\Local\Arduino15\libraries\talkie\Talkie.cpp:191:4: error: expected constructor, destructor, or type conversion before '(' token
191 | ISR(TIMER1_COMPA_vect) {
| ^
C:\Users\phili\AppData\Local\Arduino15\libraries\talkie\Talkie.cpp: In function 'void timerInterrupt()':
C:\Users\phili\AppData\Local\Arduino15\libraries\talkie\Talkie.cpp:279:6: error: 'ISR_RATIO' was not declared in this scope
279 | if (ISR_RATIO <= nextData) { nextData=0; sayisr(); }
| ^~~~~~~~~
C:\Users\phili\AppData\Local\Arduino15\libraries\talkie\Talkie.cpp: In function 'void sayisr()':
C:\Users\phili\AppData\Local\Arduino15\libraries\talkie\Talkie.cpp:289:46: error: 'ISR_RATIO' was not declared in this scope
289 | if ( o->setPtr(o->say_remove()) ) nextData=ISR_RATIO; // This tracks the timing of the call to sayisr() :: Force nextData next timerInterrupt()
| ^~~~~~~~~
C:\Users\phili\AppData\Local\Arduino15\libraries\talkie\Talkie.cpp:312:46: error: 'ISR_RATIO' was not declared in this scope
312 | if ( o->setPtr(o->say_remove()) ) nextData=ISR_RATIO; // This tracks the timing of the call to sayisr() :: Force nextData next timerInterrupt()
| ^~~~~~~~~
exit status 1
Compilation error: exit status 1
I am trying to use the latest version of your library.
Hi, I am having issues with using your library with Arduino IDE 2.0.4. When I want to make use of the examples, like "02_Voltmeter", I am getting the following errors.
I am trying to use the latest version of your library.
best regards philipp