Skip to content

Commit 2391aaf

Browse files
committed
minor change, makes update to slider and it toggles the timer
1 parent 3a4ce61 commit 2391aaf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ESP8266-Remote-Blynk-Switch.ino

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ BLYNK_WRITE(vPIN_TIME) { // timer switch
4040

4141
BLYNK_WRITE(vPIN_TIMEOUT) {
4242
switchDelay = param[0].asInt() * 60000;
43+
Blynk.syncVirtual(vPIN_BUTTON_TIMEOUT);
4344
}
4445

4546
void Switch_OFF() {

0 commit comments

Comments
 (0)