Drones

Run your First Program in Arduino

This is Arduino IDE(Integrated Development Enviroment)

Our aim in this short tutorial is to show you how to set up the Arduino IDE software to run a sketch.

If you have not Downloaded IDE then Click the Picture Below

Step 1:

Open the Arduino IDE software.

Step 2:

Click File> Examples > Basics> Blink

Step 3:

Click upload. Then observe your sketch blink the onboard LED.

If you dont want to go in blink Menu you can write Program below.

You Dont need to Attach any LED to 13 PIN because Arduino Uno Board has In bulit Led on 13 pin

void setup()

{

pinMode(13,OUTPUT); // Pin initialization

}

void loop()

{

digitalWrite(13,HIGH); // Turning On LED

delay(10000); // For 10000 ms = 10 sec

digitalWrite(13,LOW); //Turning OFF LED

delay(1000); // For 1000 ms = 1 sec

}

Step 4:

Update the code. Then upload the sketch, and watch the LED by change of delay.

Hurry you, made one program with Arduino.

6 thoughts on “Run your First Program in Arduino

  1. Rajat says:

    Nice post

  2. Nawal says:

    Nice explaination

  3. prabhjeet.singh88 says:

    Nice and perfectly explained

  4. JgkSF says:

    Best explanation ever.
    Nice Post and website.

  5. postingfvvg says:

    I’m happy to read your blog I understand properly!
    Thanks
    Robosync

Leave a Reply

Your email address will not be published. Required fields are marked *