LUA Reference Guide
2.8
Search
⌃K
EdgeTX 2.8 Lua Reference Guide
Introduction
Part I - Script Type Overview
Part II - EdgeTX Lua API Programming Guide
Part III - 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
Part IV - Advanced Topics
Appendix
Powered By
GitBook
model.resetTimer(timer)
Reset model timer to a startup value
@status current Introduced in TODO
Parameters
timer
(number) timer index (0 for Timer 1)
Return value
none
Previous
model.resetSensor(sensor)
Next
model.setCurve(curve, params)
Last modified
6mo ago