The button is a digital input module, it acts as a switch of a door. When you press it, the door opens. You can do an unlimited amount of projects using a button and it’s definitely one of the most important modules out there.
The button is a simple switch mechanism for controlling some process, once you press the button, a circuit will be closed - those allowing the circuit to flow and continue doing what it was supposed to do.
The button module is based on the push-and-action switch when you press it, it will output a logic-high level signal (1) and when you release it, it will release a logic-low level signal (0)
Use cases
For example, you want to create a morse code machine, you’ll need to buzz multiple times based on a very specific timing made by you. A button is perfect for that, once you press the button the buzzer will buzz, once you release it - it will stop.