]> git.piffa.net Git - sketchbook_andrea/blobdiff - advanced_projects/state_machine/semaforo_2_1_stimolo/semaforo_2_1_stimolo.ino
Re order
[sketchbook_andrea] / advanced_projects / state_machine / semaforo_2_1_stimolo / semaforo_2_1_stimolo.ino
index b15183824b4962b4f226ea22f9ff451f360d06a4..99ea8a56c4662e27beed0e6ff0272a3fd5a17ac3 100644 (file)
@@ -13,7 +13,7 @@
 
 #include <common.h>
 const byte input = 2; // PIN del bottone
-int pausa = 3000;
+const int pausa = 3000;
 enum states_available { // Stati della FMS
     turn_green,    // Dinamico, transizione
     green,         // Statico
@@ -51,7 +51,6 @@ switch (state) {
     state = turn_red ; // Il passaggio di stato avviene alla pressione di un bottone
     delay(20);
     };
-
     break;
 
     case turn_red :