   lcd.print("min");
   delay(1000);
   digitalWrite(air, HIGH);
-  if (tank<20){
-  digitalWrite(stir, HIGH);}
   now = rtc.now();
   current = now.unixtime();
   }

}
void weekend(){
  aeration(15, 4);
  rest(45);
}
void normalsequence(){//10 hrs
  DateTime now = rtc.now();
  realstarttime = now.unixtime();
  fill(12,0);
  fill(25,1);
  now = rtc.now();
  delay(2000);
  aeration(60, 24);
  float current = now.unixtime();
  while (current-realstarttime<14400){
    aeration(1,24);
    now= rtc.now();
    current = now.unixtime();
  }
  delay(2000);
  settle(180, 24);
  delay(2000);

    digitalWrite(stir, LOW);
    digitalWrite(air, LOW);
}
void fillplusair(int lvl, int airadd){//check depth and fill until level is 25gal plus stir
  lcd.clear();
  lcd.setCursor(0,0);
  lcd.print("FILL ");
  lcd.setBacklight(TEAL);
  measurevol();
  lcd.setCursor(0,1);
  lcd.print(tank);lcd.print("gal");
  DateTime now = rtc.now();
  float lastair = millis();
    while (tank<lvl){
      digitalWrite(fillpump, HIGH);
      measurevol();
      lcd.setCursor(0,1);
      lcd.print(tank);lcd.print("gal");
      delay(30000);
      measurevol();
      lcd.setCursor(0,1);
      lcd.print(tank);lcd.print("gal");
      delay(30000);
      digitalWrite(air,LOW);
      if ((airadd == 1) && (millis()-lastair > 300000)){
       digitalWrite(air,HIGH);
       lastair = millis();
      }
    }
  digitalWrite(fillpump, LOW);
  digitalWrite(stir, LOW);
  digitalWrite(air, LOW);
}
void RASfill(int lvl){//check depth and fill until level is 25gal plus stir
  //digitalWrite(stir, HIGH);
  lcd.clear();
