lvgl.qrcode

Display a QR code.

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:

NameTypeDescriptionDefault 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

AvailStatusComment

BW radios

Color radios

active

Change log

EdgeTX versionChange

2.11.0

Introduced