-
Notifications
You must be signed in to change notification settings - Fork 3k
Modify LED error sequence to be more recognisable #4920
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
Conversation
The current error sequence for microcontrollers with less than 4 LEDs is to toggle an LED at a fixed rate. Change the sequence to 4 short pulses followed by 4 long pulses.
- Removed the patterned LED sequence, all boards now use the 4 fast pulse, 4 slow pulses LED sequence. - Changed the LED used from LED_RED to LED1. Only 58/174 targets seem to define LED_RED but they all define LED1. - Removed all ERROR_RED and ERROR_PATTERN definitions from targets/targets.json
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Beautiful. Clear and concise diff. 2x 👍
/morph test |
/morph echo |
1 similar comment
/morph echo |
I recieved your comment! Here's what you wrote!
|
/morph test |
1 similar comment
/morph test |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
@deepikabhavnani @c1728p9 @bulislaw Happy with unifying the LED sequence? |
Woohoo :) |
Reopening this PR from the previous PR. I accidentally closed the previous one.
Unified the LED error sequence for all boards. Previously the LED sequence for boards with 4 LEDs was a patterned sequence, and for other boards, a fixed blinking LED. The new sequence is a repeating sequence of 4 fast pulses, followed by 4 slow pulses.
Fixes #1295 LED error patterns