LUA Reference Guide
OTX 2.3
OTX 2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.10
next-snapshot
Ask or search...
Ctrl + K
Part III - OpenTX Lua API Reference
Model Functions [//]: <> (LUADOC-BEGIN:model)
Previous
sportTelemetryPush()
Next
model.defaultInputs()
Last updated
3 years ago
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.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.setTimer(timer, value)