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