2 Debug con macro per il preprocessore
6 Accensione e spegnimanto di un LED utilizzando variabili
7 per impostare la velocita' del lampeggio.
9 Turns on an LED on for one second, then off for one second, repeatedly.
11 This example code is in the public domain.
14 // Pin 13 has an LED connected on most Arduino boards.
17 int breve = 200; // Variabile richiambile nel corso dell'esecuzione
22 // the setup routine runs once when you press reset:
24 // initialize the digital pin as an output.
29 // the loop routine runs over and over again forever:
31 digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
33 Serial.println("High");
36 delay(breve); // wait for a second
37 digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
39 Serial.println("Low");
41 delay(breve); // wait for a second