Skip to main content

The blocks

Learn's missions use a small set of friendly blocks. Each is a Runeweave node underneath, with simpler names for the classroom.

BlockInputsOutputsWhat it does
ButtonpressedOn while the button on the left add-on is held down.
LightonLights the light on the right add-on while on is on.
Flip-floptogglememoryRemembers on or off. Each time toggle turns on, memory flips.
BlinkerbeatSwitches on and off by itself. Set how many seconds each beat lasts.
BothA, BoutOn when A and B are on.
EitherA, BoutOn when A or B is on.
OppositeinoutOn when in is off, and off when it's on.
WaitinoutPasses in on after a number of seconds.

The seconds on Blinker and Wait can be 0.25, 0.5, 1, 2 or 3.

A first program​

Wire Button → pressed to Light → on. Hold the button and the light is on; let go and it's off.

Put a Flip-flop in between (pressed → toggle, memory → on), and each press switches the light on or off and it stays that way.