   lcd.print("HEATING: ");
   lcd.setCursor(16,3);
   lcd.print("OFF");
+//--------------Horloge--------------------
+  rtc.begin();                      //Démarre la communication avec l'horloge
 //--------------DHT11--------------------
   dht.begin(); 
 //--------------General setup-------------------

}

void loop() {    
//--------------DHT11--------------------
  float greenhouseTemperature = dht.readTemperature();
  float greenhouseHumidity = dht.readHumidity();
//--------------Relais--------------------

    digitalWrite(FAN, OFF);
  }
//--------------Affichage sériel--------------------
    Serial.println("");
    Serial.println("-----------------------");
    Serial.print(rtc.getDOWStr());
    Serial.print(",  ");
    // Send date
    Serial.print(rtc.getDateStr());
    Serial.print(" - ");
    // Send time
    Serial.println(rtc.getTimeStr());
    Serial.print("PROGRAMME : ");
    Serial.println(PROGRAMME);
  
    Serial.println("-----------------------");    
    Serial.print("Temperature cible :");
    Serial.print(TEMP_CIBLE);
    Serial.println(" C");

    Serial.print("Temperature actuelle: ");
    Serial.print(greenhouseTemperature);
    Serial.println(" C");
