Created
March 7, 2017 12:46
-
-
Save ntoll/5182490e9231fcc0e0e025a1557e5d9e 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 * | |
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