Skip to content
This repository has been archived by the owner on Nov 4, 2023. It is now read-only.

lvgl/lv_lib_qrcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QR code library for LVGL

This repository is merged into the lvgl repository. See https://docs.lvgl.io/master/libs/qrcode.html

QR code generation with LVGL. Uses QR-Code-generator by nayuki.

Get started

const char * data = "Hello world";

/*Create a 100x100 QR code*/
lv_obj_t * qr = lv_qrcode_create(lv_scr_act(), 100, lv_color_hex3(0x33f), lv_color_hex3(0xeef));

/*Set data*/
lv_qrcode_update(qr, data, strlen(data));

Notes

  • QR codes with less data are smaller but they scaled by an integer numbers number to best fit to the given size

Releases

No releases published

Packages

No packages published

Languages