Skip to content

QR-Code~

obj:qrcode

lv_qrcode

Property Value Default Description
text string "" The text to encode to QR code
size int16 140 The object is always a square with a width and a height that correspond to size.
Example jsonl
1
{"page":1,"id":42,"obj":"qrcode","text":"www.openhasp.com/0.7.0/design/objects/","x":520,"y":20,"size":200}

!!! note : The maximum text length depends on the QR code version. By default, the maximum version 7 is used, which corresponds to a maximum text length of 122 characters.