5 Forks
9 Stars
9 Watchers

Teensy_TimerInterrupt

This library enables you to use Interrupt from Hardware Timers on an Teensy-based board such as Teensy 4.x, 3.x, LC, 2.0, etc. These Teensy 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's 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'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.

How to download and setup Teensy_TimerInterrupt

Open terminal and run command
git clone https://github.com/khoih-prog/Teensy_TimerInterrupt.git
git clone is used to create a copy or clone of Teensy_TimerInterrupt repositories. You pass git clone a repository URL.
it supports a few different network protocols and corresponding URL formats.

Also you may download zip file with Teensy_TimerInterrupt https://github.com/khoih-prog/Teensy_TimerInterrupt/archive/master.zip

Or simply clone Teensy_TimerInterrupt with SSH
[email protected]:khoih-prog/Teensy_TimerInterrupt.git

If you have some problems with Teensy_TimerInterrupt

You may open issue on Teensy_TimerInterrupt support forum (system) here: https://github.com/khoih-prog/Teensy_TimerInterrupt/issues