Detecting Bangle JS 2 backlight events #6107
Unanswered
espruino-discuss2
asked this question in
Bangle.js
Replies: 1 comment
-
Posted at 2023-06-30 by rigrig I think you're looking for the Posted at 2023-06-30 by JoppyFurr Thanks rigrig, I didn't realize that the touch-screen actually unlocked when doing a wrist twist. I think this will work for what I'm trying to do :3 Cheers, Posted at 2023-07-03 by @gfwilliams
There's an option (on by default) for that in settings - but if you want to detect a write twist then there are specific events for that too |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2023-06-30 by JoppyFurr
Hi,
I'm working on a custom watchface, and would like to make use of the heart rate monitor.
My plan, to avoid excess battery use, is to only measure and show the heart rate when the backlight is turned on. Ie, the user has pressed the button, twisted their wrist, or has done some other action that they have configured to turn on the backlight)
I've seen there is an event, 'lcdPower', but this doesn't seem to trigger. Maybe I'm doing something wrong, or maybe it's only for the original Bangle's LCD and not the Bangle 2..
Is there a way to get an event when the LCD backlight is turned on?
Cheers,
Joppy
Beta Was this translation helpful? Give feedback.
All reactions