I can't upload my code to my Arduino Uno

I have just bought an arduino and already love working on it, but for some reason I cannot upload any code, I found an older post with a similar problem and I followed it to get the verbose on upload any help is appreciated

the message from console:

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xf6
Sketch uses 998 bytes (3%) 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_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xf6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xf6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xf6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xf6
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xf6

avrdude done.  Thank you.

Failed uploading: uploading error: exit status 1

Look here for help with troubleshooting upload problems. https://support.arduino.cc/hc/en-us/articles/4403365313810-Errors-when-uploading-a-sketch

Thanks!

This almost always says that you haven't selected the correct COM port in the IDE.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.