wasp-os/wasp/boards/nitrogen/watch.py
2020-02-01 13:44:28 +00:00

6 lines
132 B
Python

from machine import RTCounter as RTC
# Start measuring time (and feeding the watchdog)
rtc = RTC(1, mode=RTC.PERIODIC)
rtc.start()