Introduction: Arduino: Working With Two LED's at Alternate Timings

Picture of Arduino: Working With Two LED's at Alternate Timings

Hi Guys. Here I will show you a small project I made. Its very easy and it is foolproof!!

Cheers Guys

Step 1: Collect Your Materials

Picture of Collect Your Materials

First you need to collect your matireals. This project requires almost no items. Here is the list of what is required:

Breadboard

Arduino Uno/ Mega/ Leonardo/Due/Yún/Zero/Mega ADK/Ethernet/Mega 2560

Cables (to connect Arduino to Breadboard)

Two LED Lights

Step 2: Plug in Arduino to Computer

Picture of Plug in Arduino to Computer

Plug in your Arduino to the computer using the USB cable that you got with the Arduino.

Step 3: Enter Your Coding

Picture of Enter Your Coding

In this case I will be pluging in my led in PIN number 11,10 because they are both analog PINS. You can see my Schematic diagram above.

You need to download the sketch that I made or You will need to copy from the pictures.

DOWNLOAD HERE

Step 4: Connect Your Breadboard

Picture of Connect Your Breadboard

This is a crucial bit because if you go wrong all of this is waste. Using the schematic diagram above try connecting all LEDs and wire to build it. Go on. No preasure.

Step 5: Place Your Code

Picture of Place Your Code

Now for another important step. Upload your code and wait for it to work.

Step 6: Optional: Build a Cover for Your Master Piece.

Comments

tomatoskins (author)2015-06-26

Super cool! I love arduino!

PremU (author)tomatoskins2015-06-26

Yeah. Arduino is awsome...

About This Instructable

267views

8favorites

More by PremU:Arduino: Working with two LED's at alternate timings
Add instructable to: