add todo to main program

This commit is contained in:
Clement 2023-05-02 19:32:42 +02:00
parent 6744680a1f
commit 84cd9912c9

View File

@ -15,6 +15,7 @@ Program::Program(){
this->ultrasonic = new Ultrason(ULTRA_SOUND_TRIGD, ULTRA_SOUND_ECHO, "10");//TODO: mettre la valeur en config this->ultrasonic = new Ultrason(ULTRA_SOUND_TRIGD, ULTRA_SOUND_ECHO, "10");//TODO: mettre la valeur en config
this->dht = new HumiTemp(DHTPIN, DHTTYPE, "20:30/60:80");//TODO: mettre la valeur en config this->dht = new HumiTemp(DHTPIN, DHTTYPE, "20:30/60:80");//TODO: mettre la valeur en config
//TODO: init balance
} }
void Program::loop(){ void Program::loop(){
@ -29,5 +30,7 @@ void Program::loop(){
Serial.print("humiTemp = " + this->dht->read()); Serial.print("humiTemp = " + this->dht->read());
Serial.println(this->dht->isFull()?" true":" false"); Serial.println(this->dht->isFull()?" true":" false");
//TODO: Lire balance
delay(1000); delay(1000);
} }