Tutorial
π‘ Tip: Disable headers/footers in your print dialog for a clean PDF.
micro:bit β MakeCode Blocks π§±
π§ Why MakeCode?
Drag blocks. Make magic. No installs needed. Perfect for fast wins and playful projects.
Goal: open MakeCode β make a βHello!β program β flash to the micro:bit.
π» Open the Editor
- Open the micro:bit MakeCode website in your browser.
- Click New Project β name it
HelloLED.
β¨ Build your first program
- In on start, add show leds and draw a smiley.
- In forever, add show string β type
Hello!.
π‘ Use the simulator on the left to test before flashing.
π Flash to the micro:bit
- Plug in your micro:bit with USB.
- Click Download. If your browser asks, select the
MICROBITdrive. - Wait a few secondsβtext should scroll on the LEDs. π
β οΈ If it doesnβt show up, try another USB cable/port. Some cables are power-only.
π§― Quick Fixes
- No MICROBIT drive? Replug, try a different cable, or restart the browser.
-
Canβt download directly? Save the
.hexfile, then drag it onto the MICROBIT drive.
π Next Steps
- Buttons A/B β change the message.
- Shake gesture β show a random emoji.
- Radio β send messages between micro:bits.
Blocks now. Python later. You got range. π