ButtonΒΆ

Buttons are a common component used to control electronic devices, they are usually used as switches to connect or break circuits.
The following is the internal structure of a button. The symbol on the right below is usually used to represent a button in circuits.

Since the pin 1 is connected to pin 2, and pin 3 to pin 4, when the button is pressed, the 4 pins are connected, thus closing the circuit.

Example
Lesson 3 Controlling LED by Button (Mega Board Project)
Lesson 21 Simple Creation-Answer Machine (Mega Board Project)
Lesson 3 Controlling LED by Button (R3 Board Project)
Lesson 21 Simple Creation-Answer Machine (R3 Board Project)
7. Doorbell (Scratch Project)
14. GAME - Eat Apple (Scratch Project)