Error uploading code

Hi, this is the first time that I use Arduino. I was pmaying around on the dev platform and loaded up an example code (Blink). This program is supposed to make an led blink. I modofied it to make an external led blink and not the built-in one.

Whenever I try to upload the code to my Genuino, an error message shows up:

Arduino: 1.8.5 (Windows Store 1.8.10.0) (Windows 10), Board: "Arduino/Genuino Uno"

Sketch uses 940 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.
An error occurred while uploading the sketch
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

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

Here is what my code looks like:

int LEDPIN = 10;
// the setup function runs once when you press reset or power the board
void setup() {
pinMode(LEDPIN, OUTPUT);
}

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

Help would be very much appreciated. :slight_smile:

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

The code is compiling, the problem is in communication between the Arduino and PC serial port.
Did you try the troubleshooting suggestions?

Thank you, im going to look right now.

Thank you, the problem seems to be with the port connection. I tried with my Micro and it worked fine.
When i plugged my Micro in, a serial port instantly show up for it unlike with the Genuino. I am going to try to reset my genuino.

When I plug my Micro in, a serial port with its name on it appears, this is not the case with my Genuino.

Is it a genuine Genuino or a clone? Are you sure that the right drivers are installed? Can you tell what chip is used for the USB to TTL (serial) interface?

This is an genuine Genuino.I hadnt isnatlled the "intel Curie boards" package on the Arduino IDE which is necessary to run an Arduino Uno and Genuino. Now, the correct serial pport shows up with the correct name but i still get the same error message. I am now going to check if I have installed all of the necessary drivers.