]> git.piffa.net Git - sketchbook_andrea/blobdiff - multitasking/BlinkWithoutDelay_7_struct/BlinkWithoutDelay_7_struct.ino
multitasking
[sketchbook_andrea] / multitasking / BlinkWithoutDelay_7_struct / BlinkWithoutDelay_7_struct.ino
index 621083ede47f4896e2b9d56789892295fb34ccbf..61a53b5b587dfa93160f11f616e5d62f89d93745 100644 (file)
@@ -21,13 +21,13 @@ blinkLed ledB = {
   12, LOW, 500, 0};
 
 void setup() {
-  pinMode(ledA.ledPin, OUTPUT);
+  pinMode(ledA.ledPin, OUTPUT); // Domanda: integrare l'impostazione del LED nel codice della funzione.
   pinMode(ledB.ledPin, OUTPUT);
 }
 
 void loop()
 {
- ledA = lightLed(ledA );
+ ledA = lightLed(ledA ); // Aggiorna lo stato del LED in base all'esecuzione della funzione
  ledB = lightLed(ledB );
 }