Note: This post is not completed yet.
Introduction
ESP32s have a peripheral module called LEDC, which stands for "LED Control" or "LED PWM Controller". It is used to dim external LEDs using a technique called Pulse Width Modulation (PWM), which works by switching the LED on and off too rapidly for human eyes to notice.
Virtually all ESP32s only have one LEDC. Inside the LEDC of the original ESP32, there are 4 timers and 16 channels.
Controlling the LEDC







