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.49k stars 3.1k forks source link

BTNPIN flag does not work for multiple buttons #3792

Closed ZOUDIO closed 5 months ago

ZOUDIO commented 5 months ago

What happened?

The BTNPIN flag does not seem to be working for multiple pins. Only the first pin gets added.

To Reproduce Bug

I used the buildflag '-D BTNPIN=14,32' but only 14 shows up in the GUI button

Expected Behavior

I would expect multiple buttons to be initialized and visible in the web GUI.

Install Method

Self-Compiled

What version of WLED?

v0.14.1

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

-

Anything else?

I used the same type of buildflag for multiple LED output pins, and this is working: -D DATA_PINS=2,4,12,13,15,17

So it is specifically related to this build flag it seems

Code of Conduct

blazoncek commented 5 months ago

Available in 0.15.0 beta 1.