user39102: 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:


user39102: 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

39102: <p>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:</p>

<p><a href="https://i.stack.imgur.com/tCFGp.jpg" rel="nofollow noreferrer" title="Device manager"><img src="https://i.stack.imgur.com/tCFGp.jpg" alt="Device manager" title="Device manager"></a></p>

<p>When I try to upload blink example, Arduino IDE throw this error:</p>

<pre><code>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."
</code></pre>

<p><a href="https://i.stack.imgur.com/HZcOH.jpg" rel="nofollow noreferrer" title="Screenshot of error"><img src="https://i.stack.imgur.com/HZcOH.jpg" alt="Screenshot of error" title="Screenshot of error"></a></p>

<p>Please help to run one simple example.</p>

<p>I think this screen may help to understand my problem:</p>

<p><a href="https://i.stack.imgur.com/N9AKX.jpg" rel="nofollow noreferrer" title="COM port selection"><img src="https://i.stack.imgur.com/N9AKX.jpg" alt="COM port selection" title="COM port selection"></a></p>
 39102: <p>I install driver for this site and everything is working well.
driver download:  wch.cn/download/CH341SER_EXE.html </p>

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

<p>Here is a video:
<a href="https://www.youtube.com/watch?v=FhmG5J-AHrg" rel="nofollow noreferrer">https://www.youtube.com/watch?v=FhmG5J-AHrg</a></p>
