Output Table Syntax
Last updated
Last updated
Outputs are only used in mix scripts. The output table defines only name(s), the actual values are determined by the script's run function.
Example:
Output name is limited to four characters.
A maximum of 6 outputs are supported
Number Format Outputs are 16 bit signed integers when they leave Lua script and are then divided by 10.24 to produce output value in percent:
Script Return Value | Mix Value in OpenTX |
---|---|
0
0%
996
97.2%
1024
100%
-1024
-100%