summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2021-02-25 07:37:10 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2021-02-25 07:37:10 (GMT)
commit474851219a8ee3d373b61e33d6a3fcce48fca6cb (patch)
tree1716767d5159d87d312bd2c612477791fdbc0690
parent1cb1d96ef4c650934a82ef0b0ae0b47ba100dbaf (diff)
boards: simulator: Increase the display blanking time
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
-rw-r--r--wasp/boards/simulator/main.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/wasp/boards/simulator/main.py b/wasp/boards/simulator/main.py
index 2dbe875..78a1168 100644
--- a/wasp/boards/simulator/main.py
+++ b/wasp/boards/simulator/main.py
@@ -13,6 +13,11 @@ wasp.system.set_music_info({
'artist': 'Dreams of Bamboo',
})
+
+# Increase the display blanking time to avoid spamming the console
+# with backlight activations.
+wasp.system.blank_after = 300
+
# Instantiate the analogue clock application and replace the default
# (digital) clock with this alternative.
#from chrono import ChronoApp