Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.2k views
in Technique[技术] by (71.8m points)

trying to upload code on Arduino and it is giving an error

I was trying to upload code on Arduino and it is giving an error. I didn't connect anything in Arduino but getting an error:

I am getting error like this. every time.

 Sketch uses 1894 bytes (5%) of program storage space. The maximum is 32256 bytes.
 Global variables use 71 bytes (3%) of dynamic memory, leaving 1977 bytes for local variables. The maximum is 2048 bytes.
 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.

and I am just reset the whole code.

void setup() {
 // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}
question from:https://stackoverflow.com/questions/66063252/trying-to-upload-code-on-arduino-and-it-is-giving-an-error

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...