Исправляем работу всех видов кнопок

This commit is contained in:
2022-08-12 08:04:36 +03:00
parent 47ee98352c
commit 0a8f43c7d2
3 changed files with 7 additions and 3 deletions

View File

@@ -65,6 +65,11 @@ class ButtonIn : public IoTItem {
_lastButtonState = _reading;
}
void setValue(IoTValue Value) {
value = Value;
regEvent((String)(int)value.valD, "ButtonIn");
}
~ButtonIn() {};
};