Skip to content

Instantly share code, notes, and snippets.

@ntoll
Created March 7, 2017 12:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ntoll/5182490e9231fcc0e0e025a1557e5d9e to your computer and use it in GitHub Desktop.
Save ntoll/5182490e9231fcc0e0e025a1557e5d9e to your computer and use it in GitHub Desktop.
from microbit import *
import radio
radio.on()
while True:
msg = radio.receive_bytes()
if msg:
uart.write(msg[3:])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment