nodemcu / nodemcu-firmware

Lua based interactive firmware for ESP8266, ESP8285 and ESP32
https://nodemcu.readthedocs.io
MIT License
7.64k stars 3.12k forks source link

Add the invert option for the ledc module #3506

Closed pjsg closed 2 years ago

pjsg commented 2 years ago

The latest version of the IDF adds support to invert the output sense of the ledc channel. This is useful if you are driving an active low device (such as an LED connected to VCC)