Code looks good as far as I can tell.
I would not recommend
// Drop mode as this is a game Bangle.setUI(undefined);
This will mean there is no way to exit the app, and you are forced to do a long BTN1 reset to get out of the app.
Instead use:
Bangle.setUI("clock"); // means BTN1 short press can exit the app and go to the launcher
@HughB started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Code looks good as far as I can tell.
I would not recommend
This will mean there is no way to exit the app, and you are forced to do a long BTN1 reset to get out of the app.
Instead use: