   buttonHandler();
   analogHeightHandler();
 
-	//This happens once a second
-	if (g_Flagger.getFlag(g_1000ms_flag)){
-    Serial.println("ONE SECOND");
-    g_Flagger.clearFlag(g_1000ms_flag);
-    move_direction=digitalRead(LED_PIN);
-    g_Stepper.move(move_direction,100);
-		digitalWrite(LED_PIN, move_direction ^ 1); //Toggle LED
-    g_drips_requested = 3;
-	}
+//	//This happens once a second
+//	if (g_Flagger.getFlag(g_1000ms_flag)){
+//    Serial.println("ONE SECOND");
+//    g_Flagger.clearFlag(g_1000ms_flag);
+//    move_direction=digitalRead(LED_PIN);
+//    g_Stepper.move(move_direction,100);
+//		digitalWrite(LED_PIN, move_direction ^ 1); //Toggle LED
+//    g_drips_requested = 3;
+//	}
  
 }
 

}

void analogHeightHandler(){
  uint16_t analog_result;
  
  if (g_system_state==STATE_ANALOG){
    findUpperLimit(); //blocking
    
    while(g_system_state==STATE_ANALOG){
      analog_result = analogRead(HEIGHT_ANALOG_PIN);
      Serial.println(analog_result);
      g_Stepper.moveTo(0-(int16_t)analog_result*ANALOG_SCALER); //0 minus so that we travel DOWN to absolute positions, relative to 0
      g_Stepper.waitForMove();
      while (digitalRead(HEIGHT_BUTTON_PIN)==0)
        g_system_state=STATE_NORMAL;
    }
  }
}

void loop()
{

    }
  }
    
  g_Stepper.move(STEPPER_DOWN,LIMIT_SWITCH_BUFFER_STEPS);
  g_Stepper.waitForMove();
  g_Stepper.zeroPosition();
  goToNewStartHeight();
}

void printSetups(){
