I'm making a new project this morning. But suddenly i got this message while compiling:
An error occurred while uploading the sketch
avrdude: ser_open(): can't set com-state for "\.\COM3"
This never happens before. So then, i search for this kind of error and a lot of people tell to install the usb CH340g driver. So i install that driver but it didn't worked. I kept getting this message:
"The drive is successfully Pre-installed in advance"
Then i checked device manager and nothing's changed. But then i looked on my board and i realized my board is using atmega16u chip. So, is there atmega16u drivers?. if there is do i have to install the drivers? because i used this board for about 2 months now and this never happens to me.
Any help will be very helpful to me.
Thanks.