Created
August 31, 2017 05:01
-
-
Save jimmo/7b1a1cf20ea44e325c424de6e859975d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from microbit import * | |
n = 0 | |
while True: | |
if button_a.was_pressed(): | |
n += 1 | |
display.scroll(str(n)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment