whaleygeek/bitio

Pressing reset button accidentally causes problems

Opened this issue · 1 comments

Not a big issue, but if you have the micro:bit on a table and press one of the front buttons, it sometimes leans the micro:bit and the reset button is pressed.

This causes the micro:bit to reboot and it is no longer at the raw REPL, and the next command then fails to do anything due to the wrong response.

Might be worth looking to see if I can improve the recovery of this with a response state machine, so that if it detects a reboot or unexpected state, it tries to re-enter the raw REPL to recover.

I'm not that worried by this, but it looks like something I could easily fix before final publication.