feat : gestion Capteur DJT (a tester)

This commit is contained in:
2023-05-02 17:25:03 +02:00
parent edfdc6107f
commit 7574061bec
3 changed files with 8 additions and 8 deletions

View File

@ -1,9 +1,8 @@
#include "../include/HumiTemp.h"
HumiTemp::HumiTemp(int pin, String type, String fullVall):
Capteur("H/T",fullVall){
this->capteur = new DHT(pin,type);
this->capteur = new DHT(pin, type.c_str());
this->capteur->begin();
}