How To:2 Button 2 Different Led Sequences
by alexb369 in Circuits > Arduino
2272 Views, 22 Favorites, 0 Comments
How To:2 Button 2 Different Led Sequences
THIS IS A CODE IN WHICH HAS 2 DIFFERENT LED SEQUENCES FOR TWO SEPARTE BUTTONS! ENJOY!!! XD
Hardware Required
(12) light emitting diodes [leds]
- divided into 4 sets of 3 with different colors
(2) 10k resistors
(2) momentary button switches [4 pins]
(1) Arduino uno R3
(1) solderless bread board
(1) usb cable to power the board
(9) bread board jumper wires
Assembly:
now put everything together according to the picture [forgot to take progress pictures]
-if the picture is too complicated follow the assembly steps in my code.
The Sketch [code]
to download the sketch click the link below.
- the title of the file is button44.
--------------------------------------------------------------------------------------------------------------
DOWNLOAD LINK:
http://wherearethemods.weebly.com/uploads/6/9/5/0/69503177/button44.ino
Enjoy
THANKS AND ENJOY THIS 2 LED 2 SEQUENCE CODE FOR ARDUINO UNO.
Again just started working with Arduino!
XD