Testing an external influence on LEDs - pushbutton switch
We all know what a switch is don't we. We just read about it in the previous chapter. We know how it works conceptually. Let's see how it works practically and in circuits.
In this project, we will use a push button switch. This is how it looks.
Image source: https://www.sparkfun.com/products/97
The working principle of the switch is rather simple. You press it, circuit connection is formed hence the circuit works, if you release it, the circuit breaks, so the circuit doesn't work.
At the stage when the pushbutton is un-pressed, we will call the state of pushbutton to be open. When the pushbutton ...
Get Arduino for Kids now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.