O'Reilly logo

Getting Started with the micro:bit by Wolfram Donat

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required