SHARE
TWEET

Untitled

a guest Sep 15th, 2019 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.    void Test() {
  2.  
  3.  uint32_t measureTime;  
  4.  //valueflu1 = 0.00;
  5.  
  6.                    
  7.     if(millis() - measureTime > 1000){
  8.       measureTime = millis();    
  9.  
  10. if (valueflu1 < 30){
  11.    digitalWrite(ledpinEV1, HIGH);
  12.    Serial.println("EV1ON");Serial.print(" ");
  13.    Serial.println(valueflu1);
  14.    millis();
  15.    digitalWrite(ledpinPom, HIGH);
  16.    Serial.println("PomON");Serial.print(" ");
  17.    Serial.println(valueflu1);
  18.    millis();
  19. } else if (valueflu1 > 30) {    
  20.     Serial.println("sei in while");
  21.     digitalWrite(ledpinEV1 , LOW);
  22.     Serial.println("EV1OFF");
  23.     millis();
  24.     Serial.print(" ");
  25.     digitalWrite(ledpinPom, LOW);
  26.     Serial.println("PomOFF");
  27.     Serial.print(" ");
  28.   }else {
  29.    Test();
  30.   }
  31.   return true;
  32.    }
  33.  
  34.    
  35.    }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top