In IDE>Tools>Board: is Arduino UNO
IDE>Tools>Port: is COM7
And i am using a Arduino UNO (not from official shop)
I just wrote a simple code and when i want to upload the code, this error comes up:
avrdude: ser_open(): can't set com-state for "\.\COM7"
Failed uploading: uploading error: exit status 1