Using our website means you agree to using cookies which help us improve microbit.org.Learn more
Skip to content

First steps

LEDs and buttons

Start learning about your BBC micro:bit and get creative with the LEDs and buttons

These sets of projects will show you how to program the LEDs and introduce you to some of the micro:bit’s other features.

Each set of projects is designed to build your understanding and confidence progressively, so you can work through them all or simply choose one to get started!

Set 1: Icons and animals

By following this sequence of projects, you’ll learn how to create different images on the micro:bit LEDs by sequencing instructions and using the buttons. You’ll then bring your creations to life using animation and loops.

Watch a video about micro:bit inputs and outputs

Set 2: Emotions badge

Follow this sequence of projects to create an emotion badge using the LEDs, buttons and accelerometer to let others know how you are feeling. First, you’ll program your micro:bit to show happy and sad faces before making them flash and then showing more emotions when your micro:bit is shaken.

Watch a video about the micro:bit buttons

Set 3: Sunshine

In this sequence of projects, you’ll create simple sun icons using the LEDs on your micro:bit, creating sequences to make the sun ‘beam’ and then program your very own sunlight sensing device.

Learn more about the LEDs on the micro:bit