Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from microbit import *
- def showNumber(N):
- display.scroll(str(N))
- # 1- Show String Green Hackers
- display.scroll('GH')
- # 2- Show 1 Sec
- sleep(1000)
- # 3- Show Animation LED run from left to right
- image = Image("40009\n"
- "04090\n"
- "00400\n"
- "09040\n"
- "90004")
- display.show(Image.HEART)
- sleep(1000)
- display.clear()
- while True:
- showNumber(100);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement