feat: création classe abstraite capteur #44
@ -14,9 +14,9 @@ String HumiTemp::read(){
|
|||||||
|
|
||||||
//valeur pour un élevage d'astico de pèche selon chatGPT
|
//valeur pour un élevage d'astico de pèche selon chatGPT
|
||||||
if((temp > 20 && temp < 30) && (hum > 60 && hum < 80)){
|
if((temp > 20 && temp < 30) && (hum > 60 && hum < 80)){
|
||||||
this->full = true
|
this->full = true;
|
||||||
}else{
|
}else{
|
||||||
this->full = false
|
this->full = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
sortie += String(hum);
|
sortie += String(hum);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user