Small change
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

This commit is contained in:
starcalc 2022-06-26 15:01:02 +02:00
parent 0001ff4726
commit 0032d44ec1
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ void loopHandler() {
int valueKnobBTN = debouncerKnobBTN.read(); int valueKnobBTN = debouncerKnobBTN.read();
if (valueKnobBTN != lastKnobBTN) { 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"); knobNode.setProperty("btnknob").send(valueKnobBTN ? "false" : "true");
lastKnobBTN = valueKnobBTN; lastKnobBTN = valueKnobBTN;
} }