Disable reset trigger button
This commit is contained in:
parent
cc8b6ba30b
commit
366b221ea3
|
@ -64,7 +64,8 @@ void setup() {
|
||||||
|
|
||||||
|
|
||||||
Homie_setFirmware("volumeknob", "0.1.0");
|
Homie_setFirmware("volumeknob", "0.1.0");
|
||||||
Homie.setResetTrigger(PIN_BTN, LOW, 20000); // BTN0 = Flash = PIN_BTN set to 20sec
|
//Homie.setResetTrigger(PIN_BTN, LOW, 20000); // BTN0 = Flash = PIN_BTN set to 20sec
|
||||||
|
Homie.disableResetTrigger();
|
||||||
Homie.setLoopFunction(loopHandler);
|
Homie.setLoopFunction(loopHandler);
|
||||||
|
|
||||||
knobNode.advertise("encoder");
|
knobNode.advertise("encoder");
|
||||||
|
|
Loading…
Reference in New Issue