Browse Source

Update microbit-start.py

Owen Diffey 9 years ago
parent
commit
dbc27153f7
1 changed files with 4 additions and 0 deletions
  1. 4 0
      microbit-start.py

+ 4 - 0
microbit-start.py

@@ -10,5 +10,9 @@ while True:
         display.show(Image.HEART)
         if button_a.is_pressed():
             display.show("Text")
+            sleep(500)
+            display.clear()
         elif button_b.is_pressed():
             display.show(str(3*5))
+            sleep(500)
+            display.clear()