megaAVR_TimerInterrupt

This library enables you to use Interrupt from Hardware Timers on an Arduino megaAVR board, such as UNO WiFi Rev2, AVR_NANO_EVERY, etc.

Author
Khoi Hoang
Website
https://github.com/khoih-prog/megaAVR_TimerInterrupt
Category
Device Control
License
MIT
Library Type
Contributed
Architectures
megaavr

These megaAVR_TimerInterrupt Hardware Timers, using Interrupt, still work even if other functions are blocking. Moreover, they are much more precise (certainly depending on clock frequency accuracy) than other software timers using millis() or micros(). That is mandatory if you need to measure some data requiring better accuracy. 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 are 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. Now supporting MegaCoreX.

Downloads

Filename Release Date File Size
megaAVR_TimerInterrupt-1.6.1.zip 2022-04-25 70.79 KiB
megaAVR_TimerInterrupt-1.6.0.zip 2022-02-05 72.36 KiB
megaAVR_TimerInterrupt-1.5.0.zip 2022-01-22 69.91 KiB
megaAVR_TimerInterrupt-1.4.0.zip 2021-11-20 87.78 KiB
megaAVR_TimerInterrupt-1.3.0.zip 2021-04-17 100.13 KiB
megaAVR_TimerInterrupt-1.2.0.zip 2021-04-17 99.59 KiB
megaAVR_TimerInterrupt-1.1.0.zip 2021-04-15 92.47 KiB
megaAVR_TimerInterrupt-1.0.0.zip 110.14 KiB