RP2040_PWM

his library enables you to use Hardware-based PWM channels on RP2040-based boards, such as Nano_RP2040_Connect, RASPBERRY_PI_PICO, with either Arduino-mbed (mbed_nano or mbed_rp2040) or arduino-pico core to create and output PWM to any GPIO pin.

Author
Khoi Hoang
Website
https://github.com/khoih-prog/RP2040_PWM
Category
Device Control
License
MIT
Library Type
Contributed
Architectures
mbed, mbed_nano, ArduinoCore-mbed, rp2040

TThe most important feature is they're purely hardware-based PWM channels, supporting very high PWM frequencies. Therefore, their executions are not blocked by bad-behaving functions or tasks. This important feature is absolutely necessary for mission-critical tasks. These hardware-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 ISR, millis() or micros(). That's necessary if you need to control devices requiring high precision

Downloads

Filename Release Date File Size
RP2040_PWM-1.0.3.zip 2021-10-05 94.84 KiB
RP2040_PWM-1.0.2.zip 2021-10-04 94.47 KiB
RP2040_PWM-1.0.1.zip 2021-09-25 92.37 KiB
RP2040_PWM-1.0.0.zip 2021-09-23 92.85 KiB