All pastes #631357 Raw Edit

Mine

public c v1 · immutable
#631357 ·published 2007-07-23 21:54 UTC
rendered paste body
		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);