Skip to content
This repository has been archived by the owner on Jan 29, 2023. It is now read-only.

Error compiling for arduino leonardo #13

Closed
eslavko opened this issue Feb 25, 2021 · 2 comments
Closed

Error compiling for arduino leonardo #13

eslavko opened this issue Feb 25, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@eslavko
Copy link

eslavko commented Feb 25, 2021

Hello...
Just entering include line in sketch #include <TimerInterrupt.h> 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.

@khoih-prog
Copy link
Owner

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.

@khoih-prog khoih-prog added the enhancement New feature or request label Feb 26, 2021
@khoih-prog
Copy link
Owner

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


Releases v1.3.0

  1. Add support to AVR ATMEGA_16U4, ATMEGA_32U4 such as Leonardo, YUN, ESPLORA, etc.
  2. Update examples

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants