Arduino debounce timer example
This is a simple debounce example for pushbuttons on Arduino boards. It have a simpler loop than the original found in the Arduino Tutorial here: https://www.arduino.cc/en/Tutorial/Debounce
To use this demo you have to connect a switch between IO Pin 2 and GND.