Closed ZOUDIO closed 5 months ago
The BTNPIN flag does not seem to be working for multiple pins. Only the first pin gets added.
I used the buildflag '-D BTNPIN=14,32' but only 14 shows up in the GUI
I would expect multiple buttons to be initialized and visible in the web GUI.
Self-Compiled
v0.14.1
ESP32
-
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
Available in 0.15.0 beta 1.
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](https://github.com/Aircoookie/WLED/assets/48258407/c97f8a6f-c260-4378-9a7c-588dae4c92f6)
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