lvgl.qrcode¶
Syntax¶
lvgl.qrcode([parent], {settings})
parent:qrcode({settings})
Parameters¶
See the API page for parameter description and common settings.
Note: 'w' and 'h' should be set to the same value for a QR code.
QR code specific settings:
| Name | Type | Description | Default if not set |
|---|---|---|---|
| data | String | Sets the URL or other content to be enccoded in the QR code. | Empty string |
| bgColor | Color | Sets the background color for the QR code image. | COLOR_THEME_SECONDARY3 |
Return values¶
LVGL object
API Status¶
| Avail | Status | Comment | |
|---|---|---|---|
| BW radios | false | ||
| Color radios | true | active |
Change log¶
| EdgeTX version | Change |
|---|---|
| 2.11.0 | Introduced |