Code the Two Micro:Bits!

To start, choose one Micro:Bit to be the sender and the other Micro:Bit to be the receiver. Once both are working as expected, add in the code for both roles.

Use the Make Code Micro:Bit website to program each Micro:Bit. As this is intended as a beginner project, the whole system can be built using the block-based programming language, although adaptations are encouraged and appreciated! 

If there is more than one pair of Micro:Bits in the room (i.e. in a classroom setting), remember to set different radio group numbers for each pair.

Click the photo below to make it larger if you can't read the text in detail!

The sender sends a (short) text based on user inputs over radio, like the example above. Pretty simple! 

The receiver moves the servo when an incoming text is received, then scrolls the message text on the LED screen, like in the example below.

Press the reset button to stop sending/receiving the incoming message.

Click the photo below to make it larger if you can't read the text in detail!

This guide was first published on Sep 01, 2017. It was last updated on Sep 01, 2017.
This page (Code the Two Micro:Bits!) was last updated on Aug 10, 2020.