Исправляем ошибку чтения температуры для Dallas на ESP32 и добавляем возможность указать для каждого датчика Dallas Ds18b20 свой адрес на шине.

This commit is contained in:
2021-12-14 17:02:42 +03:00
parent 9c1604e9cc
commit 4a946ff3eb
7 changed files with 88 additions and 13 deletions

View File

@@ -163,6 +163,7 @@ void clearVectors() {
pwmOut_EnterCounter = -1;
#endif
//==================================
//ИНТЕГРИРУЮ: Вторая интеграция в ядро. Следим за наименованием
#ifdef EnableSensorDallas
if (mySensorDallas2 != nullptr) {
mySensorDallas2->clear();