user11252: When I first started with a bare minimum code. The compiler compiles the code, but when I try to upload, this is the error message I get:
 AVRDUDE: STK500_GETSYNC<> ATTEMPT 10 OF 10 NOT IN SYNC :RESP=0X20 

How do I fix this?

user8716: There are multiple reasons why you are getting this error.

Bootloader is either missing or corrupted. This is fairly unlikely.
Wire connected to pin 0 (RX)
Wrong COM port is chosen within the arduino IDE.
Drivers are not installed. You can update it within the Device Manager if you are using Windows.

Here is a link to an article explaining the causes and how to fix them, http://www.instructables.com/id/A-solution-to-avrdude-stk500getsync-not-in-syn/

11252: <p>When I first started with a bare minimum code. The compiler compiles the code, but when I try to upload, this is the error message I get:</p>

<pre><code> AVRDUDE: STK500_GETSYNC&lt;&gt; ATTEMPT 10 OF 10 NOT IN SYNC :RESP=0X20 
</code></pre>

<p>How do I fix this?</p>
 8716: <p>There are multiple reasons why you are getting this error.</p>

<ol>
<li><p>Bootloader is either missing or corrupted. This is fairly unlikely.</p></li>
<li><p>Wire connected to pin 0 (RX)</p></li>
<li><p>Wrong COM port is chosen within the arduino IDE.</p></li>
<li><p>Drivers are not installed. You can update it within the Device Manager if you are using Windows.</p></li>
</ol>

<p>Here is a link to an article explaining the causes and how to fix them, <a href="http://www.instructables.com/id/A-solution-to-avrdude-stk500getsync-not-in-syn/" rel="nofollow">http://www.instructables.com/id/A-solution-to-avrdude-stk500getsync-not-in-syn/</a></p>
