Getting started with and Arduino_IDE

      In this blog we are going to start how to code Arduino                    development board with Arduino IDE 

        At first need to download Arduino IDE software in Arduino IDE official web  

click on "Just Download"

         Later on, install Software accepting all terms and conditions as shown in image



        Now connect Arduino to computer like below



        then open IDE click "file"/"Examples"/"basics"/"blink" or enter code as below

void setup() {

  // initialize digital pin LED_BUILTIN as an output.

  pinMode(LED_BUILTIN, OUTPUT);

}

// the loop function runs over and over again forever

void loop() {

  digitalWrite(LED_BUILTIN, HIGH);   // turn the LED on (HIGH is the voltage level)

  delay(1000);                       // wait for a second

  digitalWrite(LED_BUILTIN, LOW);    // turn the LED off by making the voltage LOW

  delay(1000);                       // wait for a second

}


        After that need to select "Tools" inside that need to select port and board should be                 "Arduino uno"




        After that click ctrl+u dump code in Arduino


        Led of Arduino will start blinking so code is successfully dumped.



Comments

Post a Comment