ATtiny_TimerInterrupt

This library enables you to use Interrupt from Hardware Timers on Arduino AVR ATtiny-based boards (ATtiny3217, etc.) using megaTinyCore

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

These ATtiny 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

Downloads

Filename Release Date File Size
ATtiny_TimerInterrupt-1.0.1.zip 2022-08-27 350.74 KiB
ATtiny_TimerInterrupt-1.0.0.zip 2022-08-27 350.36 KiB