Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from microbit import display, button_a, Image
- import radio
- radio.on()
- tardis = Image("00900:"
- "09990:"
- "09990:"
- "09990:"
- "09990")
- while True:
- message = radio.receive()
- if message:
- display.show(tardis)
- if button_a.was_pressed():
- display.clear()
- radio.send("hello")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement