microbit-foundation / standalone-error-program

A small, standalone (No CODAL) bit of code to display errors on the micro:bit, for use in DAPLink and as a template for BLE bootloader
MIT License
0 stars 1 forks source link

Include small delay between characters, remove E from message. #9

Closed jaustin closed 3 years ago

jaustin commented 4 years ago

After user feedback and discussion with @microbit-mark, @microbit-carlos we would like to standardise on the following error behaviour

  1. Do not show an 'E', so errors are just :( X Y Z
  2. Blank the screen breifly between each character/thing. (200ms)

A simple 'clear screen' followed by 'blank delay' into the main loop would suffice for (2). For (1) I think we just need to eddit the message, but @martinwork could you please make appropriate edits to achieve those points and submit a PR including binary?

(we'd also like to have this behaviour in CODAL, so see https://github.com/microbit-foundation/codal-microbit/issues/120 )

(#8 is a larger task with a different display driver, so doesn't need to be done at the same time)

martinwork commented 4 years ago

@jaustin I have removed E and increased the time between characters to around 200ms. It was just long enough to make a blip between repeated characters. The demo hex and C header are in the built folder.

jaustin commented 4 years ago

Thanks, I've tried this and I think it looks great. @microbit-carlos feel free to share with Gerardo