it’s my very first time by using a MP3shield.
I think i have a tiny understanding problem… please help :-[
My Problem:
I want that my Shield plays a couple of tracks one after another.
I’ve tried timed delays between my tracks, but it won’t play more than two of them…
Just a guess: The player plays tracks in the background and you cannot play an unlimited number of tracks at the same time. So perhaps you have to wait until one track is finished playing before you can start another.
MP3player.playTrack(12);
while (MP3player.getState() == playback)) ;
delay(500);
MP3player.playTrack(11);
while (MP3player.getState() == playback)) ;
delay(500);
MP3player.playTrack(4);
while (MP3player.getState() == playback)) ;
delay(500);