Uploading to board problem

Hi…When i try to upload any code to my arduino board it give me these error messag
Arduino: 1.8.13 (Windows 10), Board: “Arduino Uno”

Sketch uses 1894 bytes (5%) of program storage space. Maximum is 32256 bytes.
Global variables use 59 bytes (2%) of dynamic memory, leaving 1989 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can’t open device “\.\COM1”: The system cannot find the file specified.

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.

Not too many boards will be at COM1. Do you see COM1 listed under Tools:Port with no board connected, and then it changes to something else when you plug in a board/cable? That new one is the one you want to select.

1 Like

just reset the board and try with another port. i hope it will work

1 Like