-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't save more than 4 outputs #4603
Comments
Technically not a bug as the maximum number of (non virtual) buses is (intentionally) limited to 4 on ESP8266. |
It's still a UI bug. The UI lets me specify 6 LED outputs (the '+' disappears after adding 6 outputs), but only saves 4. |
It will allow you to specify up to 36 outputs. |
Sorry. In 0.16 |
@PaoloTK you are also invited to check if it breaks any of your environments. |
That lets me save 5 LED outputs now, but the 5th one doesn't actually work. |
@marcone workings of PWM output is beyond this change. |
The 5th output also doesn't work if I make it on/off instead of PWM. |
You might want to compile with WLED_DEBUG flag and post the output when you hit save in the LED settings page. I'm unable to test myself due to not having esp8266 devices (all our environments are esp32 based) but I can probably guide you through the process of finding the issue since I went through it for esp32 to fix 10+ outputs. |
For what it's worth, I compiled main branch WLED with WLED_MAX_BUSSES=5, and that both lets me save 5 outputs, and all 5 of them work. |
What happened?
I'm using a Wemos D1 Mini, ESP8266. According to the knowledge base WLED supports "Up to 3 LED outputs per ESP8266 instance", but I found I can actually define 4 (they're all PWM, so perhaps the limit of 3 applies to some other type?).
However, I cannot define more than 4. When I add a 5th output it lets me set its type, GPIO and other attributes, but it doesn't save it. There's no error message or any other indicator as to why it isn't saving it, it just doesn't.
At first I thought it might be because the number of PWM outputs is limited. The technical reference isn't entirely clear on the matter, alternately talking about 4, 5, 8 and 16 PWM channels being supported. Even when I define the 5th one as a simple on/off non-PWM output though, wled still doesn't save it.
Basically, I can specify 4 outputs using any of the 5 available GPIOs (4, 5, 12, 13 and 14), but I can't use all 5.
To Reproduce Bug
Add 4 "PWM White" outputs, choosing 4 GPIOs from (4, 5, 12, 13, 14).
Click the "Save" button, then click "LED Preferences" again. You should see the 4 previously defined outputs.
Add a 5th output using the remaining GPIO.
Click the "Save" button.
Click "LED Preferences" again and note that the 5th output was not saved.
Expected Behavior
Either it should save the 5th output, or tell me why it didn't.
Install Method
Binary from WLED.me
What version of WLED?
WLED 0.15.0 (build 2412100)
Which microcontroller/board are you seeing the problem on?
ESP8266
Relevant log/trace output
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: