#fix inversion état relais
This commit is contained in:
		@@ -130,7 +130,7 @@ void loop() {
 | 
			
		||||
    } // if
 | 
			
		||||
  }
 | 
			
		||||
 
 | 
			
		||||
  if (digitalRead(ENCROT_BP) && (currentMillis - LastReadBP > 250)){
 | 
			
		||||
  if (!digitalRead(ENCROT_BP) && (currentMillis - LastReadBP > 250)){
 | 
			
		||||
    LastReadBP = currentMillis;
 | 
			
		||||
    statutDecompte = !statutDecompte;
 | 
			
		||||
    if (statutDecompte) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user