The switch
Section 3: Control: the switch and the buttonLesson 3.1 · ⏱ 6 min
The switch opens or closes the path, like the light switch at home. When it is closed (ON) the circuit is complete, and when it is open the path is broken.
📌 Another example: a switch for the LED and the buzzer
One switch runs an LED and a buzzer together.

✍️ Practise
Put the switch on the path, run, then click it to close and open it.
✍️ Practise here in the lesson✖ Close the labor open the lab in a new page ↗
🎯 Challenge yourself
Easy
The switch is OFF. Does the LED light up?
👀 Show the solution🙈 Hide the solution

Result: no: the open switch breaks the path.
Medium
One switch for two LEDs on two paths.
👀 Show the solution🙈 Hide the solution

Result: the switch controls both.
Hard
Two switches on one path. When does the LED light up?
👀 Show the solution🙈 Hide the solution

Result: it lights up only when both switches are ON together.

