This is a project from my Arduino starter series.
This project follows up from The Blinking LED tutorial to add in a push button to control the state of the LED, turning it on and off. This project is ideal for beginners whoU have no experience with Arduino programming and prototyping. Enjoy!
- Arduino Uno/Duemilanove/Diecimila
- USB cable to program Arduino
- One LED (Any colour will do)
- One 220 Ohm Resistor
- One Pushbutton
- Wires to power the components on the breadboard
The Breadboard Setup
What code? This project doesn't require any code. The basic idea here is that the push button turns the LED on so all you're doing is closing the circuit and providing power to the LED once the push button is pressed.