Aggiungere un secondo LED e farlo brillare ogni 500ms
mentre il primo brilla ogni 1000ms
+ Massimo comun denominatore 1000 MCD 500 = 500ms
+ Durata Periodo = 500ms
+
+ Schema: https://lab.piffa.net/schemi/millis_bb.png
+
+ Stati:
+
a | b Changes
======== =========
1 | 1 x | x
0 | 1 x | x
0 | 0 | x
- Periodo = 500ms
*/
}
/* Domande
- 1. Altro scenartio: fare brillare un LED ogni 300ms mentre il secondo brilla ogni 400m
- 2. Aggiungere un terzo LED
+ 1. Altro scenario: fare brillare un LED ogni 300ms mentre il secondo brilla ogni 400m
+ 2. ...valutare come aggiungere un terzo LED, gestire altri intevalli.
*/
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-