Closed eslavko closed 3 years ago
Sorry this library now does not support Arduino Leonardo board. I'll try to release a new version to add support to Arduino Leonardo board within several days.
The new release has been published to provide support to AVR ATMEGA_16U4, ATMEGA_32U4 such as Leonardo, YUN, ESPLORA, etc.
Please test and report if it's OK.
Your contribution is noted in Contributions and Thanks
Hello... Just entering include line in sketch #include the compiling is not possible for leonardo board
compile give:
/home/slavko/Arduino/libraries/TimerInterrupt-master/src/TimerInterrupt-Impl.h: In member function 'void TimerInterrupt::resumeTimer()': /home/slavko/Arduino/libraries/TimerInterrupt-master/src/TimerInterrupt-Impl.h:599:3: error: 'else' without a previous 'if' else if (_timer == 1) ^~~~ exit status 1 Error compiling for board Arduino Leonardo.