mirror of
https://github.com/EdgeTX/edgetx.git
synced 2025-07-19 22:35:10 +03:00
Re #3719: documentation updated for model.getLogicalSwitch() - how to set "and" parameter.
This commit is contained in:
parent
d9bac83532
commit
85306a0d91
1 changed files with 3 additions and 0 deletions
|
@ -701,6 +701,9 @@ Get Logical Switch parameters
|
||||||
* `delay` (number) delay (time in 1/10 s)
|
* `delay` (number) delay (time in 1/10 s)
|
||||||
* `duration` (number) duration (time in 1/10 s)
|
* `duration` (number) duration (time in 1/10 s)
|
||||||
|
|
||||||
|
@notice To set the `and` member (which is Lua keyword)
|
||||||
|
use the following syntax: `model.setLogicalSwitch(30, {func=4,v1=1,v2=-99, ["and"]=24})`
|
||||||
|
|
||||||
@status current Introduced in 2.0.0
|
@status current Introduced in 2.0.0
|
||||||
*/
|
*/
|
||||||
static int luaModelGetLogicalSwitch(lua_State *L)
|
static int luaModelGetLogicalSwitch(lua_State *L)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue