LUA Reference Guide
2.9
OTX 2.3
2.4
2.5
2.6
2.7
2.8
2.9
2.10
next-snapshot
Ask or search...
Ctrl + K
EdgeTX Lua API Reference
General Functions
Previous
Widget Options Constants
Next
GREY()
Last updated
1 year ago
Was this helpful?
GREY()
accessTelemetryPush()
chdir(directory)
crossfireTelemetryPop()
crossfireTelemetryPush()
defaultChannel(stick)
defaultStick(channel)
flushAudio()
getAvailableMemory()
getDateTime()
getFieldInfo(source)
getFlightMode(mode)
getGeneralSettings()
getGlobalTimer()
getLogicalSwitchValue(id)
getOutputValue(outputIndex)
getRAS()
getRSSI()
getRotEncMode()
getRotEncSpeed()
getRtcTime()
getShmVar(id)
getSourceIndex(sourceName)
getSourceName(sourceIndex)
getSourceValue(source)
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])
serialGetPower(port_nr)
serialRead([num])
serialSetPower(port_nr, value)
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()