summaryrefslogtreecommitdiff
path: root/wasp/boards/sphinx/watch.py
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-04-11 19:26:12 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-04-11 19:26:12 (GMT)
commit683c3497e06cc43ded1d2bc62e1f85f80ee1bf59 (patch)
treedde34551a01248c38d5ff0de8bf92633bdab2c87 /wasp/boards/sphinx/watch.py
parentaf1379806c5ccd938b8f310b949ef265a6d8def0 (diff)
docs: Fix warnings and add a few extra apps to the docs
Diffstat (limited to 'wasp/boards/sphinx/watch.py')
-rw-r--r--wasp/boards/sphinx/watch.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/wasp/boards/sphinx/watch.py b/wasp/boards/sphinx/watch.py
index 57b590e..f3f6502 100644
--- a/wasp/boards/sphinx/watch.py
+++ b/wasp/boards/sphinx/watch.py
@@ -5,3 +5,9 @@ import time
def sleep_ms(ms):
time.sleep(ms / 1000)
time.sleep_ms = sleep_ms
+
+class Pin():
+ def value(v=None):
+ pass
+
+button = Pin()