LUA Reference Guide
Ask or search...
Ctrl
K
2.7
OTX 2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.10
next-snapshot
Part III - EdgeTX Lua API Reference
General Functions
Previous
Special Function Constants
Next
GREY()
Last updated
2 years ago
Was this helpful?
GREY()
accessTelemetryPush()
chdir(directory)
crossfireTelemetryPop()
crossfireTelemetryPush()
defaultChannel(stick)
defaultStick(channel)
getAvailableMemory()
getDateTime()
getFieldInfo(source)
getFlightMode(mode)
getGeneralSettings()
getGlobalTimer()
getLogicalSwitchValue(id)
getRAS()
getRSSI()
getRotEncSpeed()
getRtcTime()
getShmVar(id)
getSourceIndex(sourceName)
getSourceName(sourceIndex)
getSwitchIndex(positionName)
getSwitchName(switchIndex)
getSwitchValue(switchIndex)
getTime()
getTxGPS()
getUsage()
getValue(source)
getVersion()
ghostTelemetryPop()
ghostTelemetryPush()
killEvents(key)
loadScript(file [, mode], [,env])
multiBuffer(address[,value])
playDuration(duration [, hourFormat])
playFile(name)
playHaptic(duration, pause [, flags])
playNumber(value, unit [, attributes])
playTone(frequency, duration, pause [, flags [, freqIncr]])
popupConfirmation(title, message, event)
popupInput(title, event, input, min, max)
popupWarning(title, event)
resetGlobalTimer([type])
serialRead([num])
serialWrite(str)
setSerialBaudrate(baudrate)
setShmVar(id, value)
setStickySwitch(id, value)
setTelemetryValue(id, subID, instance, value [, unit [, precision [, name]]])
sources([first[, last]])
switches([first[, last]])
sportTelemetryPop()
sportTelemetryPush()