3 Now with 2 variables and an extra LED (remember a ~320 ohms resistor).
4 Turns on an LED on for one second, then off for one second, repeatedly.
6 This example code is in the public domain.
9 // Pin 13 has an LED connected on most Arduino boards.
16 // the setup routine runs once when you press reset:
18 // initialize the digital pin as an output.
23 // the loop routine runs over and over again forever:
25 digitalWrite(led, HIGH); // turn the LED on (HIGH is the voltage level)
26 delay(breve); // wait for a second
27 digitalWrite(led, LOW); // turn the LED off by making the voltage LOW
28 delay(breve); // wait for a second
30 digitalWrite(red, HIGH); // turn the LED on (HIGH is the voltage level)
31 delay(lunga); // wait for a second
32 digitalWrite(red, LOW); // turn the LED off by making the voltage LOW