khoih-prog / TimerInterrupt

This library enables you to use Interrupt from Hardware Timers on an Arduino, such as Nano, UNO, Mega, etc. It now supports 16 ISR-based timers, while consuming only 1 hardware Timer. Timers' interval is very long (ulong millisecs). The most important feature is they're ISR-based timers. Therefore, their executions are not blocked by bad-behaving functions or tasks. This important feature is absolutely necessary for mission-critical tasks.
MIT License
98 stars 11 forks source link

Compile error on UNO WiFi rev 2 #15

Closed trixheim closed 3 years ago

trixheim commented 3 years ago

Hi The board check fails on UNO WiFi rev 2, so I'm unable to compile when using this board.

Best regards

khoih-prog commented 3 years ago

Thanks for your interest in the library.

The UNO WiFi Rev 2, using ATmega4809 MPU, is different from AVR boards and is not supported by this TimerInterrupt or even the versatile TimerInterrupt_Generic Library.

If there are many more requests to support this board, I'll spend some time to write the TimerInterrupt library for it.

Best Regards,

khoih-prog commented 3 years ago

Hi @trixheim

I'm just finished the initial (not sure it's working yet) version of megaAVR_TimerInterrupt for UNO WiFi Rev 2, but I don't have the UNO WiFi Rev 2 to test.

Are you willing to test that new library? If yes, I'll place it in private repository and invite you, so that you can download and test.

Regards,