lvgl.button
Add a text button using the EdgeTX style.
Syntax
lvgl.choice([parent], {settings})
parent:choice({settings})
Parameters
See the API page for parameter description and common settings.
Button specific settings:
Name
Type
Description
Default if not set
text
String
Text to be displayed in the button.
Empty string
press
Function
Called when the user taps on the button.
nil
Return values
LVGL object
API Status
Avail
Status
Comment
BW radios
Color radios
active
Only available for One-Time scripts
Change log
EdgeTX version
Change
2.11.0
Introduced