Device Control
MBED_RP2040_PWM
Khoi Hoang <khoih.prog@gmail.com>
This library enables you to use Hardware-based PWM to create and output PWM to pins on RP2040 board to create and output PWM to pins.
These PWM channels, using RP2040 Hardware-PWM channels, still work even if other functions are blocking. Moreover, they are much more precise (certainly depending on clock frequency accuracy) than other software ISR-based PWM, using millis(), micros() or Timer Interrupt. This important feature is absolutely necessary for mission-critical tasks. You can start, stop, change and restore the settings of any PWM channel on-the-fly
Go to repositoryThis library is compatible with the mbed, mbed_nano, mbed_rp2040 architectures.
Compatibility with an architecture means that code can be compiled and uploaded to a board from the list below:
Samd