Touch events are properly captured when the device is awake, but once it sleeps (dim LED backlight), no further events are thrown. Only after a BTN1 click, events are recognized again.
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.
Hi,
I'm trying to get a 'Bangle.js 2' to wake up whenever the screen is touched.
I've isolated my code into this silly test app :
Touch events are properly captured when the device is awake, but once it sleeps (dim LED backlight), no further events are thrown. Only after a BTN1 click, events are recognized again.
The wakeOnTouch option seems to be properly set :
Is this expected behavior ? What am I missing ?
Thanks