7inch Advance HMI v1.2

Hi.

My project needs to be able to play MP3 audio and display animated GIFs (both stored in the SPIFFS partition) at the same time.

I have the SPIFFS successfully configured with a custom partition and I can display animated GIFs using AnimatedGIF v2.2.0 and LovyanGFX v1.1.16 libraries. I cannot get audio to play.

When I work through lesson 2, I can get audio to stream using the supplied esp32-audioI2S-master library and I have tweaked that example code to work with the updated version 3.4.2 and successfully reading an MP3 from SPIFFS.

So I arrogantly thought I could just merge the proven code from both projects. Wrong (so far).

When I try to get audio and visual working in the same project though (that is, adding the audio to the LovyanGFX project or, the other way around, adding graphics to the esp32-audioI2S-master project), I can never get both to work in the same project.

I presume it is because I am a newb and there is some PIN conflict or something else that I just cannot fathom. I hope it is not that I am pushing the limits of what can be done with available resources.

All education welcome.

Cheers,

Dave

Sign In or Register to comment.