# Lcd Functions

- [Lcd Functions Overview](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd_functions-overview.md)
- [lcd.RGB(r, g, b | rgb)](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/rgb.md)
- [lcd.clear(\[color\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/clear.md)
- [lcd.drawAnnulus(x, y, r1, r2, start, end \[, flags\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawannulus.md)
- [lcd.drawArc(x, y, r, start, end \[, flags\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawarc.md)
- [lcd.drawBitmap(bitmap, x, y \[, scale\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawbitmap.md)
- [lcd.drawChannel(x, y, source, flags)](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawchannel.md)
- [lcd.drawCircle(x, y, r \[, flags\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawcircle.md)
- [lcd.drawCombobox(x, y, w, list, idx \[, flags\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawcombobox.md)
- [lcd.drawFilledCircle(x, y, r \[, flags\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledcircle.md)
- [lcd.drawFilledRectangle(x, y, w, h \[, flags\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledrectangle.md)
- [lcd.drawFilledTriangle(x1, y1, x2, y2, x3, y3 \[, flags\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawfilledtriangle.md)
- [lcd.drawGauge(x, y, w, h, fill, maxfill \[, flags\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawgauge.md)
- [lcd.drawHudRectangle(pitch, roll, xmin, xmax, ymin, ymax \[, flags\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawhudrectangle.md)
- [lcd.drawLine(x1, y1, x2, y2, pattern, flags)](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawline.md)
- [lcd.drawLineWithClipping(x1, y1, x2, y2, xmin, xmax, ymin, ymax, pattern \[, flags\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawlinewithclipping.md)
- [lcd.drawNumber(x, y, value \[, flags \[, inversColor\]\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawnumber.md)
- [lcd.drawPie(x, y, r, start, end \[, flags\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpie.md)
- [lcd.drawPixmap(x, y, name)](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpixmap.md)
- [lcd.drawPoint(x, y)](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawpoint.md)
- [lcd.drawRectangle(x, y, w, h \[, flags \[, t\]\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawrectangle.md)
- [lcd.drawScreenTitle(title, page, pages)](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawscreentitle.md)
- [lcd.drawSource(x, y, source \[, flags\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawsource.md)
- [lcd.drawSwitch(x, y, switch, flags)](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawswitch.md)
- [lcd.drawText(x, y, text \[, flags \[, inversColor\]\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtext.md)
- [lcd.drawTextLines(x, y, w, h, text \[, flags\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.drawtextlines-x-y-w-h-text-flags.md)
- [lcd.drawTimer(x, y, value \[, flags \[, inversColor\]\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtimer.md)
- [lcd.drawTriangle(x1, y1, x2, y2, x3, y3 \[, flags\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/drawtriangle.md)
- [lcd.exitFullScreen()](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/lcd.exitfullscreen.md)
- [lcd.getColor(flags)](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getcolor.md)
- [lcd.getLastLeftPos()](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastleftpos.md)
- [lcd.getLastPos()](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastpos.md)
- [lcd.getLastRightPos()](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/getlastrightpos.md)
- [lcd.refresh()](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/refresh.md)
- [lcd.resetBacklightTimeout()](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/resetbacklighttimeout.md)
- [lcd.setColor(colorIndex, color)](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/setcolor.md)
- [lcd.sizeText(text \[, flags\])](https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd/sizetext.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://luadoc.edgetx.org/edgetx_2.5/part_iii_-_opentx_lua_api_reference/lcd-functions-less-than-greater-than-luadoc-begin-lcd.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
