Uses Two BUTTONS and LEDS to activate functions


This code uses two LEDs and two BUTTONS. The second LED is on

pin 13. Pin 13 ALWAYS has a LED connected to it, and is noted

with an L on your Arduino UNO. Pressing the momentary switch 1

will either turn on an LED or run a special function that

blinks an LED with a set patter. Pressing momentary switch 2

will do the same, but output to a different LED or function.