Lesson 1: Hello World
Welcome to your very first BBC Micro:bit project!
In this lesson, you’ll create a simple program that shows the message “Hello!” on the Micro:bit display.
What You’ll Learn
- How to open MakeCode
- How to create a project
- How to program your Micro:bit to display a message
Steps
1. Open MakeCode
Go to MakeCode for Micro:bit in your browser.
2. Start a New Project
- Click New Project
- Name it:
HelloWorld
3. Add the “Show String” Block
- From the Basic menu, drag a Show String block into the
on startblock. - In the text field, type:
Hello!
4. Test Your Program
- Watch the simulator on the left side of MakeCode.
- It should display
Hello!on the virtual Micro:bit screen.
5. Download Your Program
- Click Download.
- Plug in your physical Micro:bit.
- Drag the
.hexfile onto the MICROBIT drive.