瀏覽代碼

Update microbit-start.py

Owen Diffey 9 年之前
父節點
當前提交
dbc27153f7
共有 1 個文件被更改,包括 4 次插入0 次删除
  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()