How to blink led in arduino uno board?

Hello,
How should i start programming in arduino uno board here is code..

void setup() {
  
  pinMode(13, OUTPUT);
}


void loop() {
  digitalWrite(13, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(13, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}

the error is showing. how to blink led at 13 with different delay

what error is this??

avrdude stk500_getsync

There is no error in code.
That is communication problem between your arduino and computer.
Check your board and port is correct.

How to check communication problem?

here is device manager it is showing this

Try download and reinstall Arduino software again. Download from software link at top of this page.

I AM DOWNLOADING THIS

ARDUINO SOFTWARE
HOURLY BUILDS
Download a preview of the incoming release with the most updated features and bugfixes.
Windows
Mac OS X (Mac OSX Lion or later)
Linux 32 bit , Linux 64 bit , Linux ARM

Download an earlier version that is known to be stable such as 1.8.2, not the hourly build

window installer?

what error are this ?

Arduino: 1.8.2 (Windows 7), Board: "Arduino/Genuino Uno"

Sketch uses 928 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xbf
An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Which port have you got selected in the IDE ?

this com4

please help me how to do this??

As a first learner of ArduinoUNO under IBMPC-WIN8 and Arduino IDE 1.8.0, I followed steps:

  1. Create a Foleder ArduinoUNO under my working drive.

  2. Download IDE-1.8.0 and copied it under ArduinoUNO Folder.

  3. Installed the Arduinno IDE-1.8. Package.

  4. Connect the ArduinoUNo Board with IBMPC using the USB Cable. Check that buil-in LED(L)
    and Power LED (ON) are ignited.

  5. Checking the Virtual COM Port (VCOMX) assigned to the Arduino Board.
    Device Manager ---> Ports ---> Arduino (COM3) ---> Update Driver Software... --->
    Browse my computer for driver software ---> Let me pick from a list of device drivers on my
    computer ---> Arduino Uno ---> Next

  6. Execute the Arduino IDE Interface from the Applications Menu

  7. In the IDE Interface select:
    Tools ---> Port ---> COM3

  8. In the IDE Interface select:
    Tools ---> Board ---> Arduino UNo

  9. Create the prom LEDBlink.ino (save under ArduinoUno\LEDBlink).

void setup() {
  
  pinMode(13, OUTPUT);
}


void loop() {
  digitalWrite(13, HIGH);   // turn the LED on (HIGH is the voltage level)
  delay(1000);                       // wait for a second
  digitalWrite(13, LOW);    // turn the LED off by making the voltage LOW
  delay(1000);                       // wait for a second
}
  1. In the IDE perform:
    Sketch ---> Verify/Compile
    In the interface, we will the message: Done compiling

  2. Press RESET key on the Arduino Board

  3. In the Arduino perform:
    Sketch ---> Upload

  4. In the IDE Interface, we will the see the message:
    Done uplaoding

  5. On the Arduino Board, we will a blinking L at 1-sec interval.

i have done showing this error...

Arduino: 1.8.2 (Windows 7), Board: "Arduino/Genuino Uno"

Sketch uses 948 bytes (2%) of program storage space. Maximum is 32256 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xbf
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xbf
An error occurred while uploading the sketch

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Pls try the steps of #13 with another AduinoUNO. If there is still problem, try the steps with another PC. We must make put systematic attempts to isolate the faulty item (software or hardware).

Try another USB lead first.

there is led blinking and power led is also working what to do?

there is led blinking and power led is also working

When ?

always when i plug usb led on boards i.e. smd and led at pin13 blink when i press reset it stop..why?