feat: création classe abstraite capteur #44
@ -13,7 +13,7 @@ String HumiTemp::read(){
|
||||
int temp = this->capteur->readTemperature(false,true);
|
||||
|
||||
//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)){//TODO: passer les valeurs en config
|
||||
this->full = true;
|
||||
}else{
|
||||
this->full = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user