OpenTX 2.3 Lua Reference Guide
Search
⌃K
OpenTX 2.3 Lua Reference Guide
Introduction
Part I - Script Type Overview
Part II - OpenTX Lua API Programming Guide
Part III - OpenTX Lua API Reference
Constants
General Functions
GREY()
accessTelemetryPush()
chdir(directory)
crossfireTelemetryPop()
crossfireTelemetryPush()
defaultChannel(stick)
defaultStick(channel)
flushAudio()
getAvailableMemory()
getDateTime()
getFieldInfo(name)
getFlightMode(mode)
getGeneralSettings()
getGlobalTimer()
getRAS()
getRSSI()
getRotEncSpeed()
getRtcTime()
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, event)
popupInput(title, event, input, min, max)
popupWarning(title, event)
resetGlobalTimer([type])
serialRead([num])
serialWrite(str)
setTelemetryValue(id, subID, instance, value [, unit [, precision [, name]]])
setSerialBaudrate(baudrate)
sportTelemetryPop()
sportTelemetryPush()
Model Functions
Lcd Functions
Bitmap Functions
Part IV - Converting OpenTX 2.0 Scripts
Part V - Converting OpenTX 2.1 Scripts
Part VI - Advanced Topics
Part VII - Appendix
Powered By GitBook

General Functions

Here are the articles in this section:
GREY()
accessTelemetryPush()
chdir(directory)
crossfireTelemetryPop()
crossfireTelemetryPush()
defaultChannel(stick)
defaultStick(channel)
flushAudio()
getAvailableMemory()
getDateTime()
getFieldInfo(name)
getFlightMode(mode)
getGeneralSettings()
getGlobalTimer()
getRAS()
getRSSI()
getRotEncSpeed()
getRtcTime()
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, event)
popupInput(title, event, input, min, max)
popupWarning(title, event)
resetGlobalTimer([type])
serialRead([num])
serialWrite(str)
setTelemetryValue(id, subID, instance, value [, unit [, precision [, name]]])
setSerialBaudrate(baudrate)
sportTelemetryPop()
sportTelemetryPush()
Previous
Key Event Constants
Next
GREY()
Last modified 1yr ago
Copy link