MIDI player with lyrics on IC2 LCD

Hello,

I am currently trying to code my Arduino to play a midi song along with displaying lyrics on an LCD screen. However, I am having a problem with the lyrics. Delays seem to delay the entire code and I am not sure how to create a timer that prints the lyrics when desired. Is there anything I can do that might help me with this?

Thank You.

Midi_PLayer.ino (121 KB)

Delays seem to delay the entire code

Yes they will. So you will need to implement your code as a state machine and only print the next chunk of the words when it is time to do so. All delays must be removed from your code.

Look at the several things at once sticky post tutorial in the projects section of the forum.