when i try to upload any type of code 'tried the basic blinker one also' i get this error message
"avrdude: ser_open(): can't open device "\.\COM6": Access is denied.
Failed uploading: uploading error: exit status 1"
sloutions i used and didn't work:
1- restarted my laptop
2- changed the port
3-changed the processor to old booter
4-made sure every connection is right
5- tried using the old version of arduino which is 1.8
with all of that nothing happened but as a note once like every 10 tries of uploading my code it works but then the time after that it goes back to the same error