Pretty much, yes.
I set it to 10, 20 or 30 depending on whether I single, double or triple tap the button, resetting it back to 0 after 3 seconds.
Need to tidy up the code as it is littered with previous attempts and experiments, but will share it later on.
@knolleary 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.
Pretty much, yes.
I set it to 10, 20 or 30 depending on whether I single, double or triple tap the button, resetting it back to 0 after 3 seconds.
Need to tidy up the code as it is littered with previous attempts and experiments, but will share it later on.