I have been using Arduino UNO for my projects.
I didn’t use it for a few weeks, but now, when I try to upload a program, this error always pops up.
avrdude: ser_open(): can't set com-state for "\\.\COM3"
I have already gone through multiple solutions on the internet, like using a different cable, restarting the computer and reinstalling the drivers and software, but none of them works for me.
Here is the screenshot of the error when uploading a simple blink code for testing:
Please help me fix this error.