acid-drop- Hacking the planet from a LilyGo T-Deck using custom firmware |
git clone git://git.acid.vegas/acid-drop.git |
Log | Files | Refs | Archive | README | LICENSE |
lv_example_sjpg_1.c (376B)
1 #include "../../lv_examples.h" 2 #if LV_USE_SJPG && LV_BUILD_EXAMPLES 3 4 /** 5 * Load an SJPG image 6 */ 7 void lv_example_sjpg_1(void) 8 { 9 lv_obj_t * wp; 10 11 wp = lv_img_create(lv_scr_act()); 12 /* Assuming a File system is attached to letter 'A' 13 * E.g. set LV_USE_FS_STDIO 'A' in lv_conf.h */ 14 lv_img_set_src(wp, "A:lvgl/examples/libs/sjpg/small_image.sjpg"); 15 } 16 17 #endif