MISSION 2

Zombie Escape Sign

When running away from zombies, it’s easy to lose your friends. Create this direction sign to make sure that your friends know which way to go. We want to be able to set which arrow to display using the buttons on the micro:bit and the Circuit Playground Express. For the Raspberry Pi, we’re going to use the letters L and R on the keyboard for left and right.

Images

Figure 2.1   micro:bit direction sign in place.

Algorithm

Images

micro:bit

Build

When you’ve finished coding, unplug the USB cable, and plug in a battery pack. Place ...

Get Save the World with Code: 20 Fun Projects for All Ages Using Raspberry Pi, micro:bit, and Circuit Playground Express 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.