Small change

master
starcalc 3 months ago
parent 0001ff4726
commit 0032d44ec1
  1. 2
      src/esp-volumeknob.cpp

@ -35,7 +35,7 @@ void loopHandler() {
int valueKnobBTN = debouncerKnobBTN.read();
if (valueKnobBTN != lastKnobBTN) {
Homie.getLogger() << "KnobBTN is now " << (valueKnobBTN ? "open" : "close") << endl;
Homie.getLogger() << "KnobButton is now " << (valueKnobBTN ? "open" : "close") << endl;
knobNode.setProperty("btnknob").send(valueKnobBTN ? "false" : "true");
lastKnobBTN = valueKnobBTN;
}

Loading…
Cancel
Save