15 Forks
29 Stars
29 Watchers

SAMD_TimerInterrupt

This library enables you to use Interrupt from Hardware Timers on an SAMD-based board. These SAMD 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. SAMD21 now can use 6 Timers

How to download and setup SAMD_TimerInterrupt

Open terminal and run command
git clone https://github.com/khoih-prog/SAMD_TimerInterrupt.git
git clone is used to create a copy or clone of SAMD_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 SAMD_TimerInterrupt https://github.com/khoih-prog/SAMD_TimerInterrupt/archive/master.zip

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

If you have some problems with SAMD_TimerInterrupt

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