This commit is contained in:
Dmitry Borisenko
2022-09-27 01:07:50 +02:00
parent d426746733
commit e809c92c64
3 changed files with 9 additions and 5 deletions

View File

@@ -338,7 +338,7 @@
"name": "26. PZEM 004t Мощность",
"type": "Reading",
"subtype": "Pzem004w",
"id": "A",
"id": "W",
"widget": "anydataWt",
"page": "Сенсоры",
"descr": "Мощность",
@@ -436,8 +436,8 @@
"descr": "",
"widget": "nil",
"id": "u",
"tx": 15,
"rx": 16,
"tx": 12,
"rx": 13,
"speed": 9600,
"num": 34
},

View File

@@ -54,6 +54,10 @@ class SoftUART : public IoTItem {
void parse(String& incStr) {
SerialPrint("I", "=>UART", incStr);
}
void uartPrint(String msg) {
myUART->print(msg);
}
};
void* getAPI_SoftUART(String subtype, String param) {

View File

@@ -9,8 +9,8 @@
"descr": "",
"widget": "nil",
"id": "u",
"tx": 15,
"rx": 16,
"tx": 12,
"rx": 13,
"speed": 9600
}
],