lv_lib_qrcode
lv_lib_qrcode copied to clipboard
No image displayed when testing
Hello, I am trying to test the library as suggested by the example, but it only shows "NO DATA" in my display. My hardware is a 128x64 dot monochrome, and its working fine with others objects (images and labels). Are the instructions "lv_qrcode_create" and "lv_qrcode_update" all that is needed to display the QR Code?
Hello, I am trying to test the library as suggested by the example, but it only shows "NO DATA" in my display. My hardware is a 128x64 dot monochrome, and its working fine with others objects (images and labels). Are the instructions "lv_qrcode_create" and "lv_qrcode_update" all that is needed to display the QR Code?
The "NO DATA" message was due a image object that was created but not filled. In fact, the QR Code component is not generating any data on display.
Hi,
I tested with the example in the README and it worked well for me.
Please be sure to update lvgl and QR code lin to the latest version from master
.
/* 1: Enable indexed (palette) images */
#define LV_IMG_CF_INDEXED 1
Enable this will fix it
The qr lib use canvas and img widgets,the canvas use the indexed color
I'm using ESP-IDF and ported lib of qrcode. After callling lv_qrcode_update(qr, data, strlen(data));
application rebooted probably due to memory violation. Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
What happens if you increase LV_MEM_SIZE
?
I have updated the lvgl from esp board manufacturer and error is gone.