6c7337fb1e
Fixes: 9eb9b74
("Update preprocess to use $(BOARD)").
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
8 lines
215 B
Python
8 lines
215 B
Python
# 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()
|