HD1010 Crash with rapid button presses
My interactive autorun.brs script works fine:
Attract video
Press one of 4 buttons to choose one of 4 videos
Play that Video
Back to the attract video
If a single button is pressed twice rapidly (twice per second) or
if a second button is pressed immediately after the first,
The system crashes (Black screen. Shell prompt "Roku>" at terminal)
I do not want to do hardware debounce.
Do I need to add a timer after detecting button presses?
What's the best syntax for a delay after detecting a button?
Thanks,
Bob