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.setOutput(index, value)
Set servo parameters
@status current Introduced in 2.0.0
Parameters
index
(unsigned number) channel number (use 0 for CH1)
value
(table) servo parameters, see model.getOutput() for table format
Return value
none
Notice
If a parameter is missing from the value, then that parameter remains unchanged.
Previous
model.setModule(index, value)
Next
model.setSwashRing(params)
Last modified
1yr ago