summaryrefslogtreecommitdiff
path: root/wasp
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2020-02-04 08:44:21 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2020-02-04 08:44:21 (GMT)
commit5489437f7894fef1ab317f4c056136df79f8cfde (patch)
treeeccb0602671f19db63e84a23449c91cec97c7674 /wasp
parent1d8b900d404a7cee8f44b74bf286d5fd21aab5c3 (diff)
wasp: demo: Power up the display before launching the demo
Diffstat (limited to 'wasp')
-rw-r--r--wasp/demo.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/wasp/demo.py b/wasp/demo.py
index 9da9f5f..d901fcc 100644
--- a/wasp/demo.py
+++ b/wasp/demo.py
@@ -28,6 +28,9 @@ def run():
l = logo.pine64
i = 0
+ watch.display.poweron()
+ watch.backlight.set(2)
+
while True:
for c in colors:
if i < 5: