← Teacher guide Markdown for Prepare

A model drives a build: cheat sheet

micro:bit and the computer · Find each block in the MakeCode toolbox (the category is at the end of each line).

show string

Scrolls a word or message across the screen. Basic › show string.

basic.showString("Hello")
The block

letter at

The letter at a place in a text. Places start at 0, as in a list. Text (char from … at).

message.charAt(0)
The block

servo write pin

Turns a servo on that pin to an angle from 0 to 180 (90 is the middle). Pins.

pins.servoWritePin(AnalogPin.P0, 90)
The block