JeffAlyanak/cyberpunk_netwatch

Timer Function

Opened this issue · 0 comments

Summary

Adding this to track the addition of the upcoming Timer function.

Double-clicking the top button will enter a mode allowing you to set a timer by tapping/holding the top button. Pressing the bottom button will then set/start the timer.

It will count down the seconds in the background—during which time regular watch operation will continue as normal—and when the timer reaches 0 the watch will flash a message for a few seconds to indicate that the timer has elapsed.

Implementation Notes

  • For power-saving, the watch normally only updates the time every 8 seconds. To accommodate timers—which are not always going to be multiples of 8 seconds—the watch updates will switch from the to every 1 second when a timer is set and will switch back once the timer has elapsed.
  • A timer can be cancelled by simply setting a 0 second timer.