lcd.invalidate¶
since 1.1.0
Invalidate the window or a part of the window (it will be fully drawn on next LCD refresh)
Parameters¶
| Name | Type | Required | Description |
|---|---|---|---|
x |
number | optional | X coordinate |
y |
number | optional | Y coordinate |
w |
number | optional | rectangle width |
h |
number | optional | rectangle height |
Returns¶
Nothing.
Examples¶
Used in¶
- Battery gauge widget
- Timer control
- Telemetry value widget
- lazy-loading
- tool-form
- widget-flvss
- widget-gauge
- widget-jet
- widget-rssi
Real-world usage¶
Called 153 times across 13 open-source Ethos Lua projects. A few short excerpts: