SAMD_Slow_PWM

This library enables you to use Hardware Timers on SAMD21/SAMD51 boards to create and output PWM to pins.

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

These PWM channels, using SAMD21/SAMD51 Hardware Timers, 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. Max PWM frequency is limited at 1000Hz. Now you can change the PWM settings on-the-fly

Downloads

Filename Release Date File Size
SAMD_Slow_PWM-1.2.3.zip 2022-03-03 340.54 KiB
SAMD_Slow_PWM-1.2.2.zip 2022-03-03 340.25 KiB
SAMD_Slow_PWM-1.2.1.zip 2022-02-02 321.67 KiB
SAMD_Slow_PWM-1.2.0.zip 2022-02-01 321.44 KiB
SAMD_Slow_PWM-1.1.0.zip 2021-11-11 296.40 KiB
SAMD_Slow_PWM-1.0.0.zip 2021-10-02 286.34 KiB