Disable reset trigger button

This commit is contained in:
interfisch 2017-06-07 19:52:41 +02:00
parent cc8b6ba30b
commit 366b221ea3
1 changed files with 2 additions and 1 deletions

View File

@ -64,7 +64,8 @@ void setup() {
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);
knobNode.advertise("encoder");