Introduction: Working With Two LEDs and Two Push Buttons
This project illustrates the use of two PUSH BUTTONS to operate two LEDs
Step 1: Objective
For one set of LED and the Push button, when button is pressed LED is set ON and when the button is released, LED will be set OFF. for the other set, its the opposite effect.
Step 2: Components Required
- Arduino (1 No.)
- Breadboard (1 No.)
- LED (2 No.)
- Push Buttons (2 No.)
- Resistor (4 No.)
- Jumper Wires (10 No.)
Step 3: Breadboard Diagram
Make Connections as shown in the figure.
Step 4: Block Code
Create blocks as shown in figure.
Step 5: Start Simulation
Click Start Simulation to see it in action.
Discussions