1 Warm-Up
In Scratch your code lived inside the computer and stayed there. Today your code leaves the computer: you send it to a small board with 25 lights, and it keeps running there on its own.
👀 Watch first
📚 Words to know
🌍 In the real world
Microwaves, washing machines and traffic lights all hold a tiny program inside them. Nobody keeps a laptop plugged into a traffic light.
2 Predict
👀 Read the blocks
The program finishes. What is on the lights ten seconds later?
👀 Watch it run
3 Try It
🎛️ Change one thing, watch the screen
- One face🎛 Change a value🎨 show icon
🔎 What you should see
🤔 The program ended. Why are the lights still on?
Nothing turned them off. A picture stays until another block replaces it.
- Two faces, no wait🎛 Change a value🎨 show icon
🔎 What you should see
🤔 Watch closely. Do you see one face or two?
Two — but the first one flashes past. Each face gets only a moment before the next one lands.
- Two faces, with a wait🎛 Change a value⏱️ pause (ms)🎨 show icon
🔎 What you should see
🤔 What did pause change?
It holds the happy face on screen. Same two blocks, but now you can read the story.
4 Plan
A face that looks at you, waits, then falls asleep. Here are the steps it takes.
🗺️ Your game plan
5 Build
🔨 Now make it in MakeCode
Put a show icon block inside on start.
+ add🎬 After step 1 — your project does this now
Add a pause of 2000 milliseconds.
+ add🎬 After step 2 — your project does this now
Add a second face below the pause.
+ addRun it and watch the face fall asleep.
🎮 Your finished project
🔌 On a real micro:bit
If nothing happens, your block is probably sitting outside on start. Drag it until it clicks inside.
6 Fix It
🐞 This face is awake for only a flash before it falls asleep.
👀 Compare the two runs
Now — it goes wrong
Show the broken code
Goal — make it do this
🧩 Build the fix — put the blocks in order
on start💡 See why it was broken
7 Extend
🟢 EasySwap both faces for a new pair.
🎯 Make this happen🪜 Your steps — tap when done
🎉 All steps done!
💡 Hint — the key block
🟡 MediumMake the awake face last five seconds.
🎯 Make this happen🪜 Your steps — tap when done
🎉 All steps done!
💡 Hint — the key block
🔴 HardAdd a third face in the middle, and say which one the story ends on.
🎯 Make this happen🪜 Your steps — tap when done
🎉 All steps done!
💡 Hint — the key blocks