Radio Broadcast

The Radio Broadcast extension has blocks for sending to and receiving messages from all the micro:bit boards nearby. Just two blocks are used, one to send a broadcast message and another to run code when a broadcast message is received.

A message, which is a number, is sent to, or received by all nearby micro:bit boards regardless of which Group number they are transmitting or receiving on.

Blocks in this extension

radio.sendMessage(0)
radio.onReceivedMessage(0, function() {})

See Also

send message, send value

radio-broadcast