#004 Pushbutton switch for LED
Momentary push button switch is used to toggle the LED on and off.
Notes
A simple circuit showing how to wire a pushbutton with a pull-down resistor for a digital input that is normally low but pulls high when pressed.