5 lines
132 B
Python
5 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()
|