khoih-prog/RPI_PICO_TimerInterrupt
This library enables you to use Interrupt from Hardware Timers on RP2040-based boards such as RASPBERRY_PI_PICO. These RPI_PICO_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'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.
C++MIT
Issues
- 1
Measure RPM example for Arduino MBED core
#4 opened by w9ran - 7
Enable fixed timing between timer calls (vs fixed time btw. end of timer call and next call as implemented)
#3 opened by AndreasOKircher - 1
invalid conversion from 'void (*)()' to 'pico_timer_callback' {aka 'bool (*)(repeating_timer*)'}
#2 opened by janczeresnia - 1
Wrong Board selected in Arduino
#1 opened by LeSuedois