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

khoih-prog/ESP8266_PWM

This library enables you to use Interrupt from Hardware Timers on an ESP8266-based board to create and output PWM to pins. 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're 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's necessary if you need to measure some data requiring better accuracy

语言:C · GitHub 星标:19 · Fork:2

话题:duty-cycle · esp8266 · isr-based-pmw · multi-channel-pwm · non-blocking · on-the-fly · precise · pwm

在 GitHub 上查看原仓库

正在读取项目信息…