It emulates a BTN1 or BTN3 on a Bangle 1. Touch the top right or bottom right of the display to cycle through an array. See my Pastel App that uses this to control display of a status line.
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.
Use Bangle.setUI('updown')
It emulates a BTN1 or BTN3 on a Bangle 1. Touch the top right or bottom right of the display to cycle through an array. See my Pastel App that uses this to control display of a status line.