-
Notifications
You must be signed in to change notification settings - Fork 259
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
Model 100 LED regression: only some LEDs light on boot #1329
Comments
Adding this to my LEDControl.disable();
delay(100);
LEDControl.enable(); |
@tlyu Do you think this might be related to some of your recent rework on startup? |
Yeah, it's possible. I'll try to reproduce, and I can try adding a poll for both ATtinys to start responding before exiting the Model100 setup (with a reasonable timeout in case someone is running with the right half disconnected). |
I can't reproduce it by setting my default LED mode to one of the solid colors on a default Model 100 sketch. I'm going to assume that the custom sketch speeds things up enough that the solid color mode writes the LEDs before the ATtinys have booted up. |
That's my assumption as well. (Even with the same firmware build on my sketch, different numbers of LEDs come up on the left half on each boot, so I think the 100ms workaround I added is probably overkill.) |
Describe the bug
In the default sketch, the first LED effect is LEDOff. On my firmware sketch, I enable a solid color LED effect immediately (and have no other LED effects).
Somewhere in
becf816...c1acb3b
(this comparison looks confusing due to the LEDEffect-DigitalRain repo merge) seems to introduce a regression for this firmware. On power up, some or none of the LEDs light. I can hit my LED key (bound toKey_LEDToggle
because I have only one effect) twice, and all LEDs light as expected.When some LEDs do light, there are patterns. Generally it is the right 2 columns of the right half, and only the LED key on the left half. Sometimes we also get the tab and left Fn key.
7e2a767 looks potentially related? I am not sure.
To Reproduce
Expected behavior
I expected all the LEDs to light.
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: