Return to site

Arduino push button switch

broken image

Usually, most of the pushbuttons tend to straddle at the center trench of a breadboard. Have your push button placed on your breadboard.Your 220-ohms resistor should be connected from pin 13 onto the row where your LED’s long leg has been attached.

broken image

Once that is in place, you should consider connecting the short leg of your LED to the same ground rail present on your breadboard, and the long one should be connected to a row on your breadboard.This is often considered as the ground rail.

broken image
broken image

broken image