mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
Исправляем ошибку чтения значения Item в Lcd2004
This commit is contained in:
@@ -42,11 +42,10 @@ class Lcd2004 : public IoTItem {
|
||||
void doByInterval() {
|
||||
if (LCDI2C != nullptr) {
|
||||
printBlankStr(_prevStrSize);
|
||||
|
||||
String tmpStr;
|
||||
// to do
|
||||
// jsonRead(paramsHeapJson, _id2show, tmpStr);
|
||||
if (_descr != "none") tmpStr = _descr + " " + tmpStr;
|
||||
|
||||
String tmpStr = "";
|
||||
if (_descr != "none") tmpStr = _descr + " " + getItemValue(_id2show);
|
||||
else tmpStr = getItemValue(_id2show);
|
||||
LCDI2C->setCursor(_x, _y);
|
||||
LCDI2C->print(tmpStr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user