1
0
Fork 0
wasp-os/wasp/boards/dsd6/watch.py.in

9 lines
215 B
Python
Raw Normal View History

# SPDX-License-Identifier: LGPL-3.0-or-later
# Copyright (C) 2020 Daniel Thompson
from machine import RTCounter as RTC
# Start measuring time (and feeding the watchdog)
rtc = RTC(1, mode=RTC.PERIODIC)
rtc.start()