Help decipher error message.

I am running my first script for the arduino. I get the following error message. Please help.

Here is the script. /* Blink (aka Hello World! In Arduino/Wiring): Language: Arduino/Wiring

Blinks an LED attached to pin 13 every half second. Connections: Pin 13: + leg of an LED (- leg goes to ground) */

int LEDPin = 13;

void setup() { pinMode(LEDPin, OUTPUT); // set pin 13 to be an output }

void loop() { digitalWrite(LEDPin, HIGH); // turn the LED on pin 13 on delay(500); // wait half a second digitalWrite(LEDPin, LOW); // turn the LED off delay(500); // wait half a second }

Here is the error. Binary sketch size: 1096 bytes (of a 14336 byte maximum)

avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

Which board have you selected?

OK thanks. I thought I had check which board I was using. I double check and tried some other names or varieties of my arduino and Wallah ! it worked.

Thank you.