April 2020
Intermediate to advanced
224 pages
6h 2m
English
Here’s a nice, easy mission to start this section with: a name badge. This is to stop any spies from dressing up as your Dad and trying to enter your home. No name badge, no entry.
We’ll use the micro:bit to scroll a name across the LEDs, and we’ll use the Circuit Playground Express’s colored lights to make a unique secret pattern.
Before we start coding, we’re going to create our algorithm. Remember, an algorithm is a sequence of steps or rules for solving a problem. It’s not code; it’s like a plan for what we’re going to do next. The algorithm will be similar for all our devices.
To attach the micro:bit as a badge, take out the USB cable, and plug in the battery. ...