Aircoookie / WLED

Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
https://kno.wled.ge
MIT License
14.66k stars 3.15k forks source link

Support Wifi Status LED on free GPIO #4029

Closed TPPTim closed 3 months ago

TPPTim commented 3 months ago

Hey together,

i would like to use a small blue external led to display the wifi status on WLED WROOM-32. Is there a feature available? I was not able to find something in the source, or the documentation.

It would be great if you can help me :)

Best regards Tim

softhack007 commented 3 months ago

Maybe -DSTATUSLED=pin does what you want.

https://github.com/Aircoookie/WLED/blob/2f6f0d2f3e3ca7c016d7f507a9a5433564484de0/wled00/wled.cpp#L899-L904

blazoncek commented 3 months ago

You will need a custom build with an option (build flag) @softhack007 provided.

If you prefer my_config.h you can #define STATUSLED <GPIO> there.

TPPTim commented 3 months ago

Thank you very much for the fast response and help! This is exact what I need!

Have a nice day!