Working with an LED and a Push Button

This project demonstrates the use of a push button to operate an LED.

Apr 24, 2019

293424 views

23 respects

Components and supplies

1

Arduino Uno Rev3

1

Breadboard (generic)

2

Resistor 1k ohm

5

Jumper wires (generic)

1

LED (generic)

Apps and platforms

1

Arduino IDE

Project description

Code

LED ON when button is pressed

arduino

LED is set to ON when the button is pressed.

LED is OFF when button is pressed (Opposite effect)

arduino

LED is OFF when button is pressed (Opposite effect)

Downloadable files

Breadboard Diagram

Make connections as shown in the figure

Breadboard Diagram

Comments

Only logged in users can leave comments

SBR

0 Followers

0 Projects

0