LUA Reference Guide
2.9
Ask or search…
⌃
K
EdgeTX 2.9 Lua Reference Guide
Introduction
Script Type Overview
EdgeTX Lua API Programming Guide
EdgeTX Lua API Reference
Constants
General Functions
Model Functions
model.defaultInputs()
model.deleteFlightModes()
model.deleteInput(input, line)
model.deleteInputs()
model.deleteMix(channel, line)
model.deleteMixes()
model.getCurve(curve)
model.getCustomFunction(function)
model.getFlightMode(index)
model.getGlobalVariable(index, flight_mode)
model.getInfo()
model.getInput(input, line)
model.getInputsCount(input)
model.getLogicalSwitch(switch)
model.getMix(channel, line)
model.getMixesCount(channel)
model.getModule(index)
model.getOutput(index)
model.getSensor(sensor)
model.getSwashRing()
model.getTimer(timer)
model.insertInput(input, line, value)
model.insertMix(channel, line, value)
model.resetSensor(sensor)
model.resetTimer(timer)
model.setCurve(curve, params)
model.setCustomFunction(function, value)
model.setFlightMode(index, params)
model.setGlobalVariable(index, flight_mode, value)
model.setInfo(value)
model.setLogicalSwitch(switch, value)
model.setModule(index, value)
model.setOutput(index, value)
model.setSwashRing(params)
model.setTimer(timer, value)
Lcd Functions
Bitmap Functions
Filesystem
Advanced Topics
Appendix
Powered By
GitBook
Comment on page
model.setInfo(value)
Set the current Model information
@status current Introduced in 2.0.6, changed in TODO
Parameters
value
model information data, see model.getInfo()
Return value
none
Notice
If a parameter is missing from the value, then that parameter remains unchanged.
Previous
model.setGlobalVariable(index, flight_mode, value)
Next
model.setLogicalSwitch(switch, value)
Last modified
1yr ago