  */
 void nextState()
 {
+  if (reset) {
+    state = STOP;
+    return;
+  }
+
   switch (state)
   {
-    case DISABLE:
-      if (tick)
-        state = STOP;
-      break;
-
     case STOP:
       if (tick)
         state = STOP_GO;

        state = STOP;
      break;
  }

  tick = false;
}

/**

/// The states of a traffic light
typedef enum : unsigned
{
  STOP,       // red
  STOP_GO,    // red and yellow
  GO,         // green
