mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-26 22:22:16 +03:00
Исправляем проблему начала измерений. Не все строки перенесены были из основной версии модуля.
This commit is contained in:
@@ -37,6 +37,7 @@ class IoTSensorSHT20: public IoTSensor {
|
||||
//аналог loop() из Arduino но квотируемый по времени параметром interval
|
||||
void doByInterval() {
|
||||
//запускаем опрос измерений
|
||||
sht->read();
|
||||
float value;
|
||||
if (getKey() == "anydataTemp") {
|
||||
value = sht->getTemperature();
|
||||
|
||||
Reference in New Issue
Block a user