mirror of
https://github.com/opentx/opentx.git
synced 2025-07-16 21:05:26 +03:00
Lua getValue() docs updated (fixed source links for 2.2 added)
This commit is contained in:
parent
fab3b96815
commit
1f1098e270
1 changed files with 8 additions and 5 deletions
|
@ -514,11 +514,14 @@ static int luaGetFieldInfo(lua_State * L)
|
||||||
|
|
||||||
Returns the value of a source.
|
Returns the value of a source.
|
||||||
|
|
||||||
The list of valid sources is available:
|
The list of fixed sources:
|
||||||
* for OpenTX 2.0.x at http://downloads-20.open-tx.org/firmware/lua_fields.txt
|
|
||||||
* for OpenTX 2.1.x at http://downloads-21.open-tx.org/firmware/lua_fields.txt (depreciated)
|
| OpenTX Version | Radio |
|
||||||
* for OpenTX 2.1.x Taranis and Taranis Plus at http://downloads-21.open-tx.org/firmware/lua_fields_taranis.txt
|
|----------------|-------|
|
||||||
* for OpenTX 2.1.x Taranis X9E at http://downloads-21.open-tx.org/firmware/lua_fields_taranis_x9e.txt
|
| 2.0 | [all](http://downloads-20.open-tx.org/firmware/lua_fields.txt) |
|
||||||
|
| 2.1 | [X9D and X9D+](http://downloads-21.open-tx.org/firmware/lua_fields_taranis.txt), [X9E](http://downloads-21.open-tx.org/firmware/lua_fields_taranis_x9e.txt) |
|
||||||
|
| 2.2 | [X9D and X9D+](http://downloads.open-tx.org/2.2/firmware/lua_fields_x9d.txt), [X9E](http://downloads.open-tx.org/2.2/firmware/lua_fields_x9e.txt), [Horus](http://downloads.open-tx.org/2.2/firmware/lua_fields_x12s.txt) |
|
||||||
|
|
||||||
|
|
||||||
In OpenTX 2.1.x the telemetry sources no longer have a predefined name.
|
In OpenTX 2.1.x the telemetry sources no longer have a predefined name.
|
||||||
To get a telemetry value simply use it's sensor name. For example:
|
To get a telemetry value simply use it's sensor name. For example:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue