Exercise 4 - Push Button Controlled LED
In this exercise we will learn how to use STEMTera™ Breadboard to read the input from a push button and translate the input to a toggling state that can be used to control an LED.
x1
x1
x3
x1
- Connect the anode (longer) pin of the RED LED to 38G and cathode (shorter) pin to 39G.
- Connect the push button switch to 32F, 34F, 32E and 34E.
- Connect the 330Ω resistor to PIN2 and 38J.
- Connect a jumper wire to GND and 39I.
- Connect a jumper wire to GND and 32J.
- Connect a jumper wire to PIN6 and 34J.