mirror of
https://github.com/IoTManagerProject/IoTManager.git
synced 2026-03-27 06:32:19 +03:00
написал прием события кнопки из веб
This commit is contained in:
@@ -16,12 +16,11 @@ class Loging : public IoTItem {
|
||||
// }
|
||||
|
||||
void doByInterval() {
|
||||
Serial.println("logging test " + logval);
|
||||
String value = getItemValue(logval);
|
||||
if (value == "") {
|
||||
SerialPrint("E", F("Logging"), F("no value set"));
|
||||
} else {
|
||||
Serial.println("value " + value);
|
||||
regEvent(value, "Logging");
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user