added rising/falling edge remark to SWMode 3/4

jziolkowski 2019-05-13 09:40:23 +02:00
parent a9ca39fe07
commit 031b907d0a
1 changed files with 2 additions and 2 deletions

@ -73,13 +73,13 @@ If the real switch is in the "ON" position, the state in Tasmota is `ON` as wel
```Set switch to push-button mode (Default 1 = ON, 0 = toggle)``` ```Set switch to push-button mode (Default 1 = ON, 0 = toggle)```
The switch will send a toggle command when the switch is released (opening the circuit). When pressing the switch (closing the circuit) nothing will happen. Default switch state is ON and when pressed its OFF. The switch will send a toggle command when the switch is released (opening the circuit). When pressing the switch (closing the circuit) nothing will happen. Default switch state is ON and when pressed its OFF. (This trigger is known as [falling-edge](https://en.wikipedia.org/wiki/Signal_edge))
**`SwitchMode 4`** **`SwitchMode 4`**
```Set switch to inverted push-button mode (Default 0 = OFF, 1 = toggle)``` ```Set switch to inverted push-button mode (Default 0 = OFF, 1 = toggle)```
The switch will send a toggle command when pressing switch (closing the circuit). When the switch is released (opening the circuit) nothing will happen. Default switch state is OFF and when pressed its ON. The switch will send a toggle command when pressing switch (closing the circuit). When the switch is released (opening the circuit) nothing will happen. Default switch state is OFF and when pressed its ON. (This trigger is known as [rising-edge](https://en.wikipedia.org/wiki/Signal_edge))
>When connecting a [momentary switch](https://en.wikipedia.org/wiki/Switch#Biased_switches) (a push-button) you will want to use `SwitchMode 3` or `SwitchMode 4`. >When connecting a [momentary switch](https://en.wikipedia.org/wiki/Switch#Biased_switches) (a push-button) you will want to use `SwitchMode 3` or `SwitchMode 4`.