OpenTX 2.1 Lua Reference Guide
Ctrlk
  • OpenTX 2.1 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()
      • defaultChannel(stick)
      • defaultStick(channel)
      • getDateTime()
      • getFieldInfo(name)
      • getFlightMode(mode)
      • getGeneralSettings()
      • getTime()
      • getValue(source)
      • getVersion()
      • killEvents(key)
      • playDuration(duration [, hourFormat])
      • playFile(name)
      • playNumber(value, unit [, attributes])
      • playTone(frequency, duration, pause [, flags [, freqIncr]])
      • popupInput(title, event, input, min, max)
    • Model Functions
    • Lcd Functions
  • Part IV - Converting OpenTX 2.0 Scripts
  • Part V - Advanced Topics
Powered by GitBook
On this page

Was this helpful?

  1. Part III - OpenTX Lua API Reference

General Functions

GREY()defaultChannel(stick)defaultStick(channel)getDateTime()getFieldInfo(name)getFlightMode(mode)getGeneralSettings()getTime()getValue(source)getVersion()killEvents(key)playDuration(duration [, hourFormat])playFile(name)playNumber(value, unit [, attributes])playTone(frequency, duration, pause [, flags [, freqIncr]])popupInput(title, event, input, min, max)
PreviousKey Event ConstantsNextGREY()

Last updated 4 years ago

Was this helpful?