R = (5v-1.8v) / 0.010a
R =320ohms
- This example code is in the public domain.
+
+ Schema: http://lab.piffa.net/schemi/led_single_bb.png
+ - http://lab.piffa.net/schemi/led_single_schem.png
+
+ This example code is in the public domain.
*/
// Pin 13 has an LED connected on most Arduino boards.
// give it a name:
int led = 13;
int red = 12; // Definiamo un altro led
+int breve = 200; // Variabile richiambile nel corso dell'esecuzione
+int lunga = 1000;
// the setup routine runs once when you press reset:
void setup() {