Skip to content

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

Merged
merged 2 commits into from Aug 24, 2017
Merged

Modify LED error sequence to be more recognisable #4920

merged 2 commits into from Aug 24, 2017

Conversation

ghost
Copy link

@ghost ghost commented Aug 16, 2017

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

Steve Cartmell and others added 2 commits August 9, 2017 16:15
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
Copy link
Contributor

@theotherjimmy theotherjimmy left a 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 👍

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 17, 2017

/morph test

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 17, 2017

/morph echo

1 similar comment
@studavekar
Copy link
Contributor

/morph echo

@mbed-bot
Copy link

I recieved your comment! Here's what you wrote!

/morph echo

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 21, 2017

/morph test

1 similar comment
@theotherjimmy
Copy link
Contributor

/morph test

@mbed-bot
Copy link

Result: SUCCESS

Your command has finished executing! Here's what you wrote!

/morph test

Output

mbed Build Number: 1066

All builds and test passed!

@0xc0170
Copy link
Contributor

0xc0170 commented Aug 22, 2017

@deepikabhavnani @c1728p9 @bulislaw Happy with unifying the LED sequence?

@Sissors
Copy link
Contributor

Sissors commented Aug 24, 2017

Woohoo :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LED error patterns
7 participants