Updated Button usage (markdown)

Adrian Scillato 2019-05-16 20:44:56 -03:00
parent 9bb0ac54a0
commit e8d925aee5
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**
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.
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.