   // position we immediately do what we would have done there.
   if (state == 0)
   {
+    setCalibration(false);
     // TODO(benkraft): Should we only be starting here when the red button is
     // pressed?
-    if (selector_pos == 0)
+    if (selector_pos == 0 && buttonPressed())
     {
       // We have started calibrating!
       state = 1;

  }

  // TODO(bhomberg): close all solenoids (??)
}

// Tell the user they have won!

int output_lights[7] = {38, 39, 40, 41, 42, 43, 44};

int red_button = 30;

int calibration_light = 31;

int pot = A0;

