bitluni / ULPSoundESP32

176 stars 26 forks source link

Doing things while playing and repeat playing #4

Open nomedia-f opened 3 years ago

nomedia-f commented 3 years ago

Hello,

I wanted to program a VGA Tetris Game with the tetris music. For this I tryed to use the Sd example code and the bitluni Vga library. But I ran into some issues. The main problem is, that the two main cores of the esp32 are hanging in a never ending for loop, even after the music is finished playing. But i want them to drive the VGA display meanwhile.

Also, if the music stops playing i want to call a function so that the music starts over again. I modified the sd example a little bit but it also only plays the music ones. I include it.

Does someone have a solution for this?

Thanks. SD.txt