Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display gif/png/jpeg using LVGL drivers from SD card #41

Merged
merged 3 commits into from
May 22, 2024

Conversation

R11G
Copy link
Contributor

@R11G R11G commented Feb 2, 2024

Uses internal LVGL drivers to display to screen. Directory functions in filesystem driver are currently null. Uses /usd/ path, so the path only needs the filesystem specifier then file name

Examples:
GIF:

lv_obj_t * gif = lv_gif_create(lv_scr_act());
lv_gif_set_src(gif, "S:pbj.gif");

PNG:

lv_obj_t * img= lv_img_create(lv_scr_act());
lv_img_set_src(img, "S:sandwich.png");

JPEG:

lv_obj_t * img= lv_img_create(lv_scr_act());
lv_img_set_src(img, "S:cat.jpg");

Copy link
Contributor

@noam987 noam987 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PLZ revert the changes to the makefile and to main.cpp and then I'll merge

@noam987 noam987 merged commit c01caa5 into master May 22, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants