TTGO-T-watch-2020-Micropython-OS
TTGO-T-watch-2020-Micropython-OS copied to clipboard
Cannot reset step count
Trying to reset the step counter at a certain time of the day. Calling ac.stepInit() in the watchface only seems to work when the watch is awake (screen is on). What is the correct way to call this function when the watch is in light sleep?
I am afraid that you have to wake from light sleep to execute any code. Have a look at the code for the alarm utility. You can probably hack it to have a special alarm that resets the step counter without turning on the display or sounding the buzzer.