mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
переписан dht
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
#include "items/vSensorAnalog.h"
|
||||
#include "items/vSensorDallas.h"
|
||||
#include "items/vSensorUltrasonic.h"
|
||||
#include "items/vSensorDht.h"
|
||||
|
||||
void not_async_actions();
|
||||
|
||||
@@ -134,4 +135,10 @@ void loop() {
|
||||
mySensorAnalog->at(i).loop();
|
||||
}
|
||||
}
|
||||
if (mySensorDht != nullptr) {
|
||||
for (unsigned int i = 0; i < mySensorDht->size(); i++) {
|
||||
mySensorDht->at(i).loopTmp();
|
||||
mySensorDht->at(i).loopHum();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user