Skip to content

Instantly share code, notes, and snippets.

@jimmo
Created August 31, 2017 05:02
Show Gist options
  • Save jimmo/6844f93a90ce58e2302821fc7eabca08 to your computer and use it in GitHub Desktop.
Save jimmo/6844f93a90ce58e2302821fc7eabca08 to your computer and use it in GitHub Desktop.
from microbit import *
while True:
if button_a.was_pressed():
display.show(Image.SQUARE)
sleep(5000)
display.clear()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment