# lv_lib_qrcode **Repository Path**: aijle_admin/lv_lib_qrcode ## Basic Information - **Project Name**: lv_lib_qrcode - **Description**: No description available - **Primary Language**: C - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-03-02 - **Last Updated**: 2022-03-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 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](https://github.com/nayuki/QR-Code-generator) by [nayuki](https://github.com/nayuki). ## Get started - Download or clone this repository - [Download](https://github.com/littlevgl/lv_lib_qrcode.git) from GitHub - Clone: git clone https://github.com/littlevgl/lv_lib_qrcode.git - Include the library: `#include "lv_lib_qrcode/lv_qrcode.h"` - Test with the following code: ```c 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