Home Forums Sparkfun MP3 Shield Library Support Forum Triggering mp3 file over serial Reply To: Triggering mp3 file over serial

#2375

Both MP3Shield_Library_Demo.ino and FilePlayer.ino work out of the box, straight from the download. Where FilePlayer.ino is nearly identical to the original MP3Shield_Library_Demo.ino, except with a more serial flexibility, that may help your desired goal.

Are you indicating that MP3Shield_Library_Demo.ino works but FilePlayer.ino? doubt it. As above they work out of the box and with identical under structures.

Your description of the symptoms are consistent with a DREQ interrupt problem. Please refer to the Troubleshooting . Specifically the subsection labeled “Why do I only hear 1 second of music, or less?” (sound familiar)

You can verify a DREQ interrupt problem by not using interrupts. Change the SFEMP3ShieldConfig.h line 195 to

#define USE_MP3_REFILL_MEANS USE_MP3_Polled

rather than USE_MP3_INTx.