mirror of https://github.com/arendst/Tasmota.git
Updated Button usage (markdown)
parent
9bb0ac54a0
commit
e8d925aee5
|
@ -26,7 +26,7 @@ Start OTA update of firmware using [OtaUrl](commands#otaurl). The green LED is l
|
||||||
### **Long press**
|
### **Long press**
|
||||||
There are two separate functions associated with a button long press based on how long it is held:
|
There are two separate functions associated with a button long press based on how long it is held:
|
||||||
1. When held continuously for 40 seconds (Configurable with [SetOption32](commands#setoption32), value is 10x the configured hold time) Tasmota will reset to firmware defaults and restart.
|
1. When held continuously for 40 seconds (Configurable with [SetOption32](commands#setoption32), value is 10x the configured hold time) Tasmota will reset to firmware defaults and restart.
|
||||||
2. If enabled, button pressed for 4 seconds (Configurable with [SetOption32](commands#setoption32)) creates a HOLD action . Check [table below](#changing-default-button-functionality)on how to enable this function.
|
2. If enabled, button pressed for 4 seconds (Configurable with [SetOption32](commands#setoption32)) creates a HOLD action. Check [table below](#changing-default-button-functionality) on how to enable this function.
|
||||||
|
|
||||||
>:warning: When a button is configured with a [Switchmode](commands#switchmode) that keeps it as ON while depressed it activates the reset to firmware defaults function. Change the button to switch or change switchmode to avoid it.
|
>:warning: When a button is configured with a [Switchmode](commands#switchmode) that keeps it as ON while depressed it activates the reset to firmware defaults function. Change the button to switch or change switchmode to avoid it.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue