ESP32_PWM

This library enables you to use Interrupt from Hardware Timers on an ESP32, ESP32_S2, ESP32_S3 or ESP32_C3-based board to create and output PWM to pins.

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

It now supports 16 ISR-based synchronized PWM channels, while consuming only 1 Hardware Timer. PWM interval can be very long (uint32_t millisecs). The most important feature is they are ISR-based PWM channels. Therefore, their executions are not blocked by bad-behaving functions or tasks. This important feature is absolutely necessary for mission-critical tasks. These hardware PWM channels, 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 is necessary if you need to measure some data requiring better accuracy. Now you can change the PWM settings on-the-fly,

Downloads

Filename Release Date File Size
ESP32_PWM-1.3.3.zip 2022-06-16 49.97 KiB
ESP32_PWM-1.3.2.zip 2022-05-09 49.25 KiB
ESP32_PWM-1.3.1.zip 2022-03-05 49.04 KiB
ESP32_PWM-1.3.0.zip 2022-02-13 51.44 KiB
ESP32_PWM-1.2.2.zip 2022-02-02 49.62 KiB
ESP32_PWM-1.2.1.zip 2022-01-30 49.37 KiB
ESP32_PWM-1.2.0.zip 2022-01-30 48.41 KiB
ESP32_PWM-1.1.1.zip 2021-11-09 66.63 KiB
ESP32_PWM-1.1.0.zip 2021-11-07 66.23 KiB
ESP32_PWM-1.0.1.zip 2021-09-22 59.90 KiB