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.setTimer(timer, value)
Set model timer parameters
@status current Introduced in 2.0.0, name added in 2.3.6
Parameters
timer
(number) timer index (0 for Timer 1)
value
timer parameters, see model.getTimer()
Return value
none
Notice
If a parameter is missing from the value, then that parameter remains unchanged.
Previous
model.setSwashRing(params)
Next
Lcd Functions
Last modified
1yr ago