An explanation of ESP32's PWM architecture via 16 independent channels and the ledcSetup/ledcAttachPin/ledcWrite functions, compared to traditional analogWrite().