Scratch Blocks
Basic
Command
"Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab.
Values
Description
Lights the top LEDs in different colours.
LED 1 is on the back right hand side and
1 – 8
numbered in an anti-clockwise direction
i.e. LED 8 is on the back left.
Lights all the LEDs on top a given colour.
Lights the headlights – left, right or
0 – 10
both. 0 is off, 10 is full brightness.
Moves forwards the stated distance and
1 – 127
given speed (slow, medium or fast).
Moves backwards the stated distance
1 - 127
and given speed (slow, medium or fast).
Switches the motors on forward.
Switches the motors on in reverse.
Stops the motors.
Turns stated angle anti-clockwise at
0 – 180
given speed (slow, medium or fast).
Turns stated angle clockwise at given
0 – 180
speed (slow, medium or fast).
0 – 29
Plays given sound (see below for index).
See http://scratch.mit.edu."