Read more at makezine.com
This is the second installment of a series about programming our favorite little micro-controller, the Arduino. Last week I covered connecting and blinking an LED. This week I will discuss connecting a push button that controls the LED. This is the simplest way to use a button. However, it isn’t always the best way since it doesn’t account for ‘debouncing’. In the next installment of this series I will talk more about ‘debouncing’ the button input and why it is important. Also, I will have a fun and easy project that incorporates what we have learned so far in this series.
ADVERTISEMENT