© Pradeeka Seneviratne  2019
Pradeeka SeneviratneBBC micro:bit Recipeshttps://doi.org/10.1007/978-1-4842-4913-0_14

14. Using Radio

Pradeeka Seneviratne1 
(1)
Udumulla, Mulleriyawa, Sri Lanka
 

Micro:bit’s CPU (Central Processing Unit) has a built-in 2.4 GHz radio module that allows you to send and receive messages wirelessly for short distances about 70 meters (230 feet) when using the maximum transmission power. With MakeCode for micro:bit, you can build a wide range of applications that can be used to exchange data between micro:bit boards (e.g., broadcasting sensor data).

14-1. Creating Radio Groups

Problem

You want your micro:bit to communicate with other micro:bits.

Solution

  • In the Toolbox, click on the Radio category. Then click and drag the radio ...

Get BBC micro:bit Recipes: Learn Programming with Microsoft MakeCode Blocks now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.