if(tempo1 == cicle) { tempThermo = recup_sonde_temp(1); //--> Récupération de la température if(tempThermo < config2[0]) { relai_thermo(0,0); relai_thermo(1,0); relai_thermo(2,0); changeVentilo = config[0] ; //--> Refait la vérification de la température après X cicle } if(tempThermo >= config2[0] && tempsThermo < config2[1]) { relai_thermo(0,1); relai_thermo(1,0); relai_thermo(2,0); changeVentilo = config[0] ; //--> Refait la vérification de la température après X cicle } if(tempThermo >= config2[1] && tempsThermo < config2[2]) { relai_thermo(0,0); relai_thermo(1,1); relai_thermo(2,0); changeVentilo = config[1] ; //--> Refait la vérification de la température après X cicle } if(tempThermo > config2[2]) { relai_thermo(0,0); relai_thermo(1,0); relai_thermo(2,1); changeVentilo = config[3] ; //--> Refait la vérification de la température après X cicle } tempo1 = (cicle + changeVentilo);