Skip to content

Instantly share code, notes, and snippets.

@satoooon8888
Created July 7, 2020 23:46
Show Gist options
  • Save satoooon8888/52a14dc6f4dc0b3e1e13f5c30e7469f5 to your computer and use it in GitHub Desktop.
Save satoooon8888/52a14dc6f4dc0b3e1e13f5c30e7469f5 to your computer and use it in GitHub Desktop.
from microbit import *
import radio
def main():
max_length = 251
channel = 64
radio.config(length=max_length, channel=channel)
display.show(Image.HAPPY)
radio.on()
while 1:
message = radio.receive()
if message:
display.scroll(message)
display.clear()
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment