Level 1: Let there be light!
Open the level →Where it fits in the machine →
Task
Goal: connect the input (Input) to the output (Output) with one wire.
Input is a switch: it outputs 0 or 1. Output is a lamp: it shows what it received. The wire carries the signal from one to the other.
The main idea: a signal in a circuit has only two states, 0 and 1. A wire carries that bit from a source to a receiver, and the whole machine grows out of this simple link.
Solution for self-check
Try building the circuit yourself first. The solution below is a way to check yourself if you're stuck or have already solved it.
What you should get: the Input switch is connected to the Output lamp. When Input is 1, the lamp is on. When it is 0, the lamp is off.
Two elements are already on the canvas: Input on the left and Output on the right.
- Hover over Input. A small circle labeled Q appears. This is the output pin.
- Hover over Output. The circle labeled D is the input pin.
- Hold the left mouse button on Q, drag a wire to D, and release.
Toggle the switch: at 1 the lamp lights up, at 0 it goes out. The signal has reached the receiver.
Check yourself
Why does the lamp go out when the switch returns to 0?
The wire carries the current input state. The input became 0, so the output received 0 too.