adafruit / Adafruit_Protomatter

RGB matrix library for Arduino
57 stars 20 forks source link

Issue compiling animated_gif example (with solution) #40

Open Simonalexanderadams opened 3 years ago

Simonalexanderadams commented 3 years ago

I encountered an issue compiling the animaged_gif example. It was solved, as noted on this forum thread, by changing line 92 to void *GIFOpenFile(const char *filename, int32_t *pSize) {

I was able to find the solution this after some digging, but I would suggest updating the example file so it doesn't continue to occur for others in the future.

ladyada commented 3 years ago

thanks, please submit a PR - we can merge it!

Simonalexanderadams commented 3 years ago

Can do. That said, I may have spoken too soon. While the compiling was a success, I wasn't able to get it to work correctly with my hardware (Matrix Portal M4 and an Adafruit 64x32 LED matrix.) Currently I've gotten the python based sprite sheet example working, and have been able to successfully run the simple Protomatter example, but haven't had successful gif playback. My issue seems like more of a forum question, though since I have other examples running I probably won't be bringing it up in the interest of time.

Let me know if you'd still like me to create the PR, though I'd still suggest doing a hardware test on your end before merging since I can't verify that it actually works. (The solution has appeared to work for others on the forum at least.)