Why Arduino Mega 2560 throw error when i try to upload example I'm try to connect my Arduino Mega 2560 to PC, but I think it's not easy as I imagine. I spent a lot's of time to install USB driver. Here is a screenshot:



When I try to upload blink example, Arduino IDE throw this error:

Sketch uses 656 bytes (0%) of program storage space. Maximum is 253952 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 8183 bytes for local variables. Maximum is 8192 bytes.
avrdude: ser_open(): can't set com-state for "\\.\COM10"
avrdude: ser_drain(): read error: The handle is invalid."




Please help to run one simple example.

I think this screen may help to understand my problem:
I install driver for this site and everything is working well.
driver download:  wch.cn/download/CH341SER_EXE.html 

I'm recommend to unplug arduino first and install driver, after that plug and enjoy.

Here is a video:
https://www.youtube.com/watch?v=FhmG5J-AHrg