开源雷达国内 GitHub 镜像站
加速通道已就绪 返回列表
全部项目

khoih-prog/RP2040_PWM

This 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 any GPIO pin. The 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. New efficient setPWM_manual function to facilitate waveform creation using PWM

语言:C++ · GitHub 星标:95 · Fork:19

话题:arduino-mbed · arduino-pico · duty-cycle · hardware-based-pwm · mbed-rp2040 · mission-critical · multi-channel-pwm · nano-rp2040-connect

在 GitHub 上查看原仓库

正在读取项目信息…