summaryrefslogtreecommitdiff
path: root/wasp/boards/dsd6/watch.py
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-02-01 13:44:28 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-02-01 13:44:28 (GMT)
commit9eb5d19e35304fb9082babf2a485942b887cad4f (patch)
tree571b887e0d5d927e8850c1c00950523bc6bf20a6 /wasp/boards/dsd6/watch.py
parentfed9c58205c6a5c81d150b49bc9b6aebe18f5aa0 (diff)
wasp: dsd6/nitrogen: Fix the frozen manifests
Diffstat (limited to 'wasp/boards/dsd6/watch.py')
-rw-r--r--wasp/boards/dsd6/watch.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/wasp/boards/dsd6/watch.py b/wasp/boards/dsd6/watch.py
new file mode 100644
index 0000000..fdfdba9
--- /dev/null
+++ b/wasp/boards/dsd6/watch.py
@@ -0,0 +1,5 @@
+from machine import RTCounter as RTC
+
+# Start measuring time (and feeding the watchdog)
+rtc = RTC(1, mode=RTC.PERIODIC)
+rtc.start()