oprava funkce readSensors
This commit is contained in:
@@ -176,7 +176,7 @@ void thermostatCheck() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void readSensors() {
|
void readSensors() {
|
||||||
uint8_t ds18Count = sensor.getDeviceCount();
|
uint8_t ds18Count = sensor.getDS18Count();
|
||||||
float tempC[ds18Count];
|
float tempC[ds18Count];
|
||||||
float temperature[ds18Count];
|
float temperature[ds18Count];
|
||||||
DeviceAddress addr;
|
DeviceAddress addr;
|
||||||
|
|||||||
Reference in New Issue
Block a user