2020-03-22 16:40:18 +01:00
|
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
# Copyright (C) 2020 Daniel Thompson
|
|
|
|
|
2020-02-01 14:44:28 +01:00
|
|
|
from machine import RTCounter as RTC
|
|
|
|
|
|
|
|
# Start measuring time (and feeding the watchdog)
|
|
|
|
rtc = RTC(1, mode=RTC.PERIODIC)
|
|
|
|
rtc.start()
|