Good afternoon
I bought an Arduino nano and wanted to try it out, but every time I try to upload it this happens:
The sketch uses 1506 bytes (4%) of the program memory. The maximum is 30720 bytes.
Global variables use 196 bytes (9%) of the dynamic memory, leaving 1852 bytes for local variables. The maximum is 2048 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
Failed upload: Upload error: exit status 1
Further, it does not show me which port it is connected to (so I had to try and error)
What is the problem and what is the best way to fix it?
Thanks in advance for the answers!
Ps:
This is the program:
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
Serial.print("Hello World");
delay(100);
}