     animate(1);
     digitalWrite(ROLLUP1_POWER,OFF);
     digitalWrite(ROLLUP2_POWER,OFF);
-    Serial.println("  Done opening");
+    Serial.println(F("  Done opening"));
     lcd.setCursor(0, 1);
-    lcd.print("ROLLUPS:     ");
+    lcd.print(F("ROLLUPS:     "));
     delay(PAUSE_TIME);
   }
 }

  }else if (opened > 100){
    opened = 100;
  }
  Serial.print("    ");
  Serial.println(opened);
  lcd.setCursor(16, 1);
  lcd.print(opened);    
  lcd.print("% ");
}

//Exécution de la séquence d'ouverture/fermeture

    openSides();
  }
//Programme fournaise1
  if (greenhouseTemperature < (TEMP_FOURNAISE1-(HYST_FOURNAISE1/2))){
    setHeater1(ON);
    digitalWrite(CHAUFFAGE1, ON);
  }else if(greenhouseTemperature > (TEMP_FOURNAISE1+(HYST_FOURNAISE1/2))){
    setHeater1(OFF);
    digitalWrite(CHAUFFAGE1, OFF);
  }
//Programme fournaise2
  if (greenhouseTemperature < (TEMP_FOURNAISE2-(HYST_FOURNAISE2/2))){
    setHeater2(ON);
    digitalWrite(CHAUFFAGE2, ON);
  }else if(greenhouseTemperature > (TEMP_FOURNAISE2+(HYST_FOURNAISE2/2))){
    setHeater2(OFF);
    digitalWrite(CHAUFFAGE2, OFF);
  }
//Programme ventilation forcée
   if (greenhouseTemperature > (TEMP_VENTILATION - (HYST_VENT/2))){
    setFan(ON);
    digitalWrite(FAN, ON);
  }else if(greenhouseTemperature < (TEMP_VENTILATION + (HYST_VENT/2))){
    setFan(OFF);
    digitalWrite(FAN, OFF);
  }
//--------------Affichage sériel--------------------
    Serial.println(F(""));
    Serial.println(F("-----------------------"));
    Serial.print(rtc.getDOWStr());
    Serial.print(F(",  "));
    // Send date
    Serial.print(rtc.getDateStr());
    Serial.print(F(" - "));
    // Send time
    Serial.println(rtc.getTimeStr());
    Serial.print(F("PROGRAMME : "));
    Serial.println(PROGRAMME);
  
    Serial.println(F("-----------------------"));    
    Serial.print(F("Temperature cible :"));
    Serial.print(TEMP_CIBLE);
    Serial.println(F(" C"));

    Serial.print(F("Temperature actuelle: "));
    Serial.print(greenhouseTemperature);
    Serial.println(" C");
    Serial.print(F("Humidite: "));
    Serial.print(greenhouseHumidity);
    Serial.println(F("%"));
    Serial.println(F("-----------------------")); 
    if(fan == false){
    Serial.println(F("FAN: OFF"));}
    else if(fan == true){
    Serial.println(F("FAN: ON"));}
    if(heating1 == false){
    Serial.println(F("HEATING1: OFF"));}
    else if(heating1 == true){
    Serial.println(F("HEATING1: ON"));}
    if(heating2 == false){
    Serial.println(F("HEATING2 : OFF"));}
    else if(heating2 == true){
    Serial.println(F("HEATING2 : ON"));}
//--------------Affichage LCD--------------------
  lcd.setCursor(0, 0);
  if((greenhouseTemperature!= last_greenhouseTemperature)||(greenhouseHumidity != last_greenhouseHumidity)){
  displayTempHRStatus();
  }
  if(opened != last_opened){
  displayRollupStatus();
  }
  if((fan != last_fan)||(heating1 != last_heating1)){
  displayFanHeaterStatus();
  }
  
last_greenhouseTemperature = greenhouseTemperature;
last_greenhouseHumidity = greenhouseHumidity;
last_opened = opened;
last_fan = fan;
last_heating1 = heating1;
last_heating2 = heating2;
}

//Affichage du % d'ouverture des rollup
void setOpenedStatus(int pctIncrease){
  opened += pctIncrease;
