#on microbit 1 put the following to send messages
from microbit import *
import radio
radio.on()
radio.config(channel=19)
radio.config(power=7)
while True:
if button_a.was_pressed():
radio.send('hello')
#On microbit 2 put the following to receive messages
from microbit import *
import radio
radio.on()
radio.config(channel=19)
radio.config(power=7)
while True:
incoming = radio.receive()
if incoming == 'hello':
display.scroll('hello')