Bloccato alla seconda programmazione.

Ho programmato l'Arduino UNO R3 per l'accensione in sequenza di 14 led e non riesco più a trasferire nuovi codici, siano fatti da me o forniti come esempi.
Neppure quello per accendere un solo led.

Quando provo a trasmettere un codice il software ARDUINO (v. 1.6.5-r2) compila rapidamente e poi si blocca in trasferimento.

Questo è il messaggio restituito:

Lo sketch usa 1.716 byte (5%) dello spazio disponibile per i programmi. Il massimo è 32.256 byte.
Le variabili globali usano 9 byte (0%) di memoria dinamica, lasciando altri 2.039 byte liberi per le variabili locali. Il massimo è 2.048 byte.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

La scheda Continua a lavorare col primo coduce che ho trasferito.

Ringrazio anticipatamente per qualsiasi suggerimento.

Gian Franco

I led avevano le resistenze?
Hai led sui pin 0 e 1?

Scommetto che hai collegato i primi 2 LED sui pin 0 ed 1 che sono riservati alla comunicazione USB.

Questo impedisce la programmazione di Arduino.

Ehmm.... :-[

Si, i led hanno tutti resistenza in serie... ma li ho messi anche sui pin 0 e 1!

E' bastato scollegarli.

GRAZIE 1000000 !!!

Al posto del pin 0 e 1 puoi usare gli analogici come i digitali.
Ad esempio con digitalWrite(A0, HIGH) oppure LOW.

PaoloP:
Al posto del pin 0 e 1 puoi usare gli analogici come i digitali.
Ad esempio con digitalWrite(A0, HIGH) oppure LOW.

Ok,

Grazie ancora.