4 Some Basic Projects

Now that you’ve had an introduction to programming the micro:bit in Python, it’s time to start tackling some basic projects and getting used to interacting with the board and all of its inputs and outputs.

The LEDs

Probably the most visually interesting part of the micro:bit, obviously, is the 5×5 grid of bright red LEDs that take up the majority of the real estate on the front of the device. With these LEDs, you can print images, scroll text, and even play games. They are also important because we use them to display information (accelerometer data, instructions, and so forth) if the board is connected to an external device such as a smartphone.

You got a short introduction to using the LEDs in the previous chapter, ...

Get Getting Started with the micro:bit 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.