# Logical Switch Function Constants

| Constant name           | Logical switch function |
| ----------------------- | ----------------------- |
| LS\_FUNC\_NONE          | -                       |
| LS\_FUNC\_VEQUAL        | a = x                   |
| LS\_FUNC\_VALMOSTEQUAL  | a \~ x                  |
| LS\_FUNC\_VPOS          | a > x                   |
| LS\_FUNC\_VNEG          | a < x                   |
| LS\_FUNC\_RANGE         |                         |
| LS\_FUNC\_APOS          | a > \|x\|               |
| LS\_FUNC\_ANEG          | a < \|x\|               |
| LS\_FUNC\_AND           | AND                     |
| LS\_FUNC\_OR            | OR                      |
| LS\_FUNC\_XOR           | XOR                     |
| LS\_FUNC\_EDGE          | Edge                    |
| LS\_FUNC\_EQUAL         | a = b                   |
| LS\_FUNC\_GREATER       | a > b                   |
| LS\_FUNC\_LESS          | a < b                   |
| LS\_FUNC\_DIFFEGREATER  | ∆ ≥ x                   |
| LS\_FUNC\_ADIFFEGREATER | \|∆\| ≥ x               |
| LS\_FUNC\_TIMER         | Timer                   |
| LS\_FUNC\_STICKY        | Sticky                  |

For detailed function explanation see [Logiacal Switches functions](https://edgetx.gitbook.io/edgetx-user-manual/edgetx-user-manual/user-manual-for-color-screen-radios/model-settings/logical-switches#logical_switches_judgment_conditions_and_logical_expressions) in EdgeTX manual.
