// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;
-int input = 8;
+int input = 2;
// the setup routine runs once when you press reset:
void setup() {
}
}
+// Modifiche:
+// 1. invertire il programma facendo in modo che il led si spenga
+// quando il bottone e' premuto. Consoderare come ottenere lo stesso risultato
+// modificando il circuito.
+// 2. Modificare il programma per far brillare il led cinque volte al secondo
+// quando il bottone e' premuto.
-// Funzioni create dall'utente:
+// Domanda: cosa succede se il jumper input non e' collegato ne al +5 ne al gound?