Updated Button usage (markdown)

blakadder 2019-05-14 23:15:51 +02:00
parent 65aa205631
commit 453f3eb675
1 changed files with 1 additions and 1 deletions

@ -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 creates a HOLD action (Configurable with [SetOption32](commands#setoption32)). 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.