
ESP-IDF tutorial series: PWM
This article explains what a PWM signal is, and how to generate PWM signal using the ledc peripheral on Espressif devices. It covers the LEDC timer and channel configuration, and shows how to convert a PWM signal into a clean DC value using an RC filter, including the tradeoffs between ripple and response speed.
