LUA Reference Guide
Ctrlk
  • 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
      • 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)
      • getSourceInfo(source)
      • 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])
      • 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()
    • Model Functions
    • Lcd Functions
    • Bitmap Functions
    • Filesystem
  • Part IV - Advanced Topics
  • Appendix
Powered by GitBook
On this page

Was this helpful?

  1. Part III - EdgeTX Lua API Reference

General Functions

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)getSourceInfo(source)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])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()
PreviousSpecial Function ConstantsNextGREY()

Last updated 2 years ago

Was this helpful?