Teensy_Slow_PWM

This library enables you to use ISR-based PWM channels on Teensy boards, such as Teensy 2.x, Teensy LC, Teensy 3.x, Teensy 4.x, Teensy MicroMod, etc., to create and output PWM any GPIO pin.

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

It now supports 16 ISR-based PWM channels, while consuming only 1 Hardware Timer. PWM channel interval can be very long (ulong microsecs / millisecs). The most important feature is they're ISR-based PWM channels, supporting lower PWM frequencies with suitable accuracy. Their executions are not blocked by bad-behaving functions or tasks. This important feature is absolutely necessary for mission-critical tasks. These ISR-based PWMs, still work even if other software functions are blocking. Moreover, they are much more precise (certainly depending on clock frequency accuracy) than other software-based PWM using millis() or micros(). That's necessary if you need to control devices requiring high precision. Now you can change the PWM settings on-the-fly

Downloads

Filename Release Date File Size
Teensy_Slow_PWM-1.2.1.zip 2022-03-05 69.94 KiB
Teensy_Slow_PWM-1.2.0.zip 2022-02-08 71.68 KiB
Teensy_Slow_PWM-1.1.0.zip 2021-11-11 76.49 KiB
Teensy_Slow_PWM-1.0.0.zip 2021-09-28 70.12 KiB