PlatformIO Community

Enable GPIO on boot (ESP32)?

Hi there,
I am modifying the platformio.ini of the WLED software to fit my custom made LED controller. To enable the LED power with the booting of the ESP, I assume GPIO16 has to be enabled somehow.
Is there a simple way to add this command within the ini file?


I would try asking at GitHub - Aircoookie/WLED: Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi! on whether their code has provisions for a LED_EN pin that they will (configurably) pull high/low as soon as the firmware starts. It may be that they have such code already and you have to tell the firmware where the LED_EN pin is via a macro in the build_flags of the platformio.ini, but it may also be that such code does not exist at all yet. The author of the project will know best.