   lcd.setCursor(0, 0);
   delay(100);
   lcd.setCursor(0,1);
-
+  decantdrain();
   while (x<1){
    //partialempty();
    //aeration(60,17);

      }
      else if (timenow-startfill < TimeToFill){
       digitalWrite(fill,HIGH);
       int timedisplay = round((TimeToFill-(timenow-startfill))/60/1000);
       lcd.setCursor(0,1);
       lcd.print(timedisplay);lcd.print("min  ");
      }
      delay(200);
    }

  delay(2000);
  aeration();
  delay(2000);
  settlerest(60000);//3min
  delay(2000);
  decantdrain();
  delay(2000);
  rest(60000);//3min
}

void loop() {
