ESP32 ESP32 PWM: Dimming LEDs and Fading Effects Digital pins give you ON and OFF. PWM — pulse-width modulation — gives you everything in between. By switching a pin thousands of times… June 24, 2026 5 min