How To:2 Button 2 Different Led Sequences

1,763

22

4

Posted

Introduction: 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

Step 1: 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

Step 2: 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.

Step 3: 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

Step 4: Enjoy

THANKS AND ENJOY THIS 2 LED 2 SEQUENCE CODE FOR ARDUINO UNO.

Again just started working with Arduino!

XD

Share

Recommendations

  • Epilog Challenge 9

    Epilog Challenge 9
  • First Time Author Contest 2018

    First Time Author Contest 2018
  • Paper Contest 2018

    Paper Contest 2018
user

We have a be nice policy.
Please be positive and constructive.

Tips

Questions

3 Comments

how do i connect led to pushbutton without using bread board???

Thanks for the tip ill definitely use it in the future