Closed
Description
As discussed elsewhere, my suggestion is that
run_every=True
does not end thedeep_sleep()
call, but rather wakes briefly to execute the run every and then resumes the deep sleep. The deep sleep only ends when the given timeout expires, or awake_on
event occurs. In particular,power.deep_sleep(run_every=True)
will never return. (And maybe we can then makerun_every=True
the default.)
Originally posted by @dpgeorge in bbcmicrobit/micropython#754 (comment)
Metadata
Metadata
Assignees
Labels
No labels