I am struggling to load a jpg from SD with lvgl library.
I modified the lv_conf.h
enable the file system.
#define LV_USE_FS_FATFS 1
#if LV_USE_FS_FATFS
#define LV_FS_FATFS_LETTER 'S' /*Set an upper cased letter on which the drive will accessible (e.g. 'A')*/
#define LV_FS_FATFS_CACHE_SIZE 460800 /*>0 to cache this number of bytes in lv_fs_read()*/
#endif
enable the jpg encoder
/* JPG + split JPG decoder library.
* Split JPG is a custom format optimized for embedded systems. */
#define LV_USE_SJPG 1
I am not able to get the image show on the screen but I can open and read a text file without a problem.
Could I have sketch or example to get that work for ESP32?
Hi All,
I am struggling to load a jpg from SD with lvgl library. I modified the lv_conf.h
I am not able to get the image show on the screen but I can open and read a text file without a problem. Could I have sketch or example to get that work for ESP32?
Thanks