OpenTX 2.1 Lua Reference Guide
search
Ctrlk
  • OpenTX 2.1 Lua Reference Guide
  • Introductionchevron-right
  • Part I - Script Type Overviewchevron-right
  • Part II - OpenTX Lua API Programming Guidechevron-right
  • Part III - OpenTX Lua API Referencechevron-right
    • Constantschevron-right
    • General Functionschevron-right
    • Model Functionschevron-right
    • Lcd Functionschevron-right
      • Lcd Functions Overview
      • lcd.clear()
      • lcd.drawChannel(x, y, source, flags)
      • lcd.drawCombobox(x, y, w, list, idx [, flags])
      • lcd.drawFilledRectangle(x, y, w, h [, flags])
      • lcd.drawGauge(x, y, w, h, fill, maxfill)
      • lcd.drawLine(x1, y1, x2, y2, pattern, flags)
      • lcd.drawNumber(x, y, value [, flags])
      • lcd.drawPixmap(x, y, name)
      • lcd.drawPoint(x, y)
      • lcd.drawRectangle(x, y, w, h [, flags])
      • lcd.drawScreenTitle(title, page, pages)
      • lcd.drawSource(x, y, source [, flags])
      • lcd.drawSwitch(x, y, switch, flags)
      • lcd.drawText(x, y, text [, flags])
      • lcd.drawTimer(x, y, value [, flags])
      • lcd.getLastPos()
      • lcd.lock()
  • Part IV - Converting OpenTX 2.0 Scriptschevron-right
  • Part V - Advanced Topicschevron-right
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. Part III - OpenTX Lua API Reference

Lcd Functions

Lcd Functions Overviewchevron-rightlcd.clear()chevron-rightlcd.drawChannel(x, y, source, flags)chevron-rightlcd.drawCombobox(x, y, w, list, idx [, flags])chevron-rightlcd.drawFilledRectangle(x, y, w, h [, flags])chevron-rightlcd.drawGauge(x, y, w, h, fill, maxfill)chevron-rightlcd.drawLine(x1, y1, x2, y2, pattern, flags)chevron-rightlcd.drawNumber(x, y, value [, flags])chevron-rightlcd.drawPixmap(x, y, name)chevron-rightlcd.drawPoint(x, y)chevron-rightlcd.drawRectangle(x, y, w, h [, flags])chevron-rightlcd.drawScreenTitle(title, page, pages)chevron-rightlcd.drawSource(x, y, source [, flags])chevron-rightlcd.drawSwitch(x, y, switch, flags)chevron-rightlcd.drawText(x, y, text [, flags])chevron-rightlcd.drawTimer(x, y, value [, flags])chevron-rightlcd.getLastPos()chevron-rightlcd.lock()chevron-right
Previousmodel.setTimer(timer, value)chevron-leftNextLcd Functions Overviewchevron-right

Last updated 4 years ago

Was this helpful?

Was this helpful?