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 O’Reilly online learning.

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