07-14-2019 23:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-14-2019 23:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi guys,
Is there a way to wake a clockface based on the number of steps? Eg wake screen when steps are 5,000.
Thanks.
Answered! Go to the Best Answer.
Accepted Solutions
07-14-2019 23:45
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


07-14-2019 23:45
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
You could use setTimeout to monitor the step count (but not too often to avoid draining the battery), then use display.on.
Gondwana Software

07-14-2019 23:45
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


07-14-2019 23:45
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
You could use setTimeout to monitor the step count (but not too often to avoid draining the battery), then use display.on.
Gondwana Software

07-15-2019 01:46
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

07-15-2019 01:46
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Thanks Catplace.
I see, so you check every 10 seconds or so and if conditions are met, you force the screen to wake.

07-15-2019 01:58
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


07-15-2019 01:58
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
That's probably the most straight-forward way.
Gondwana Software

