Aquaboun's /// gestion d'aquarium recifal

Donc, pour ne pas avoir a modifier tout mon code d'origine if ((time >= LEVER) && (time < finLEVER)){
(car foncion "time" lit hhmmss) et les fonctions j'ai fait ca :

unsigned long LEVERV = 36000; // 10h00 00
unsigned long LEVER;



void setup() {
  // put your setup code here, to run once:
Serial.begin(115200);

}

void loop() {

  // put your main code here, to run repeatedly:

LEVERV = LEVERV +40*60 ; // +40 min

LEVER = ((LEVERV/3600*10000ul)+(((LEVERV%3600)/60)*100ul)+(LEVERV%60));
Serial.print(LEVER);
Serial.println();
delay (5000);
}

Si sa vous paret correct jme lance dans toute la modif sur mon code principal