Description
I’m using ESP32 and Arduino IDE for implementing LVGL8.3.7. I want to use qrcode library and I found it in the directory below: C:\Users\a.karimi\Documents\Arduino\libraries\lvgl\src\extra\libs\qrcode.
After I build the project I program it on esp32 but it doesn’t work. I got an error and my screen is empty! I used a simple example that Mr @kisvegabor in this link: GitHub - lvgl/lv_lib_qrcode: QR code generation with LVGL but I didn’t replace my library with the files in this link. Would you please help me?
I got this error in Arduino:
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13864
load:0x40080400,len:3608
entry 0x400805f0
What MCU/Processor/Board and compiler are you using?
ESP32
What LVGL version are you using?
8.3.7
What do you want to achieve?
Using qrcode Library
What have you tried so far?
I use this code:
and I use the default library of qrcode in the extra/libs/qrcode folder.
const char * data = "Hello world";
/*Create a 100x100 QR code*/
lv_obj_t * qr = lv_qrcode_create(ui_QRCode, 130, lv_color_hex(0x000000), lv_color_hex(0xffe96e));
/*Set data*/
lv_qrcode_update(qr, data, strlen(data));