]> git.piffa.net Git - sketchbook_andrea/blobdiff - multitasking/blink_0_soluzione/blink_0_soluzione.ino
Multitasking
[sketchbook_andrea] / multitasking / blink_0_soluzione / blink_0_soluzione.ino
index 3a3751a298d57e4ab1496a9281611f8f3014b2bf..e9312e0d0d27a7614c3d0027f97bd9114a14b84a 100644 (file)
@@ -4,12 +4,12 @@
  Aggiungere un secondo LED e farlo brillare ogni 500ms
  mentre il primo brilla ogni 1000ms
  
- a  |  b
- ========
- 1  |  1
- 1  |  0
- 0  |  1 
- 0  |  0
+ a  |  b    Changes
+ ========   =========
+ 1  |  1    x   |   x
+ 1  |  0        |   x
+ 0  |  1    x   |   x
+ 0  |  0        |   x
  
  Periodo = 500ms
  
@@ -52,6 +52,11 @@ void loop() {
   ;
 }
 
+/* Domande
+ 1. Altro scenartio: fare brillare un LED ogni 300ms mentre il secondo brilla ogni 400m
+ 2. Aggiungere un terzo LED
+ */
+