there are two options for reading the gif to the lcd.
-
from the online converted c array, and add the c array into the project, and read it. for this I can only read png etc, but not gif. maybe because the gif is too large?
-
I configured file system and sd card driver. now the I can read sd card contents by the library function: readFileline("/xx.txt", 1)…, and then i would like to convert gif to a bin format data and store in the sd card with path: “S:game/game,bin”. and by checking the
lib_gif, I added two files: lv_gif.c/h and lvdec.c/h. but there are some errors and I cannot read the gif from sd card.
pic 1: the func for reading gif from sd card.
pic 2: the errors when i import the files: gifdec.c/h
some questions:
- how to debug these errors?
- how to use the function ReadBinFromSD() in sd_card.cpp? because anyway the gif has been converted by me online to bin format already.
- how to clear the gif after the gif is finished once or twice?