© 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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.