MUSIC SHIELD + ADDITIONAL CODE

Hello. I am running successfully Music Shield Library for arduino 1.0 Demo 1 (play():wink:

I bypassed pins D5,D6,D9 to be used in a simple instruction (analogWrite(x,y)) to turn on/off leds.
(According to wiki page this can be done if one does not use switches associated to these pins).

When I try to use the analogWrite instruction, the program does not run properly (either leds do not turn ON or MP3 file does not start playing)

PLEASE ADVICE, I NEED TO SOLVE THIS PROBLEM. THANKS IN ADVANCE

Hi there, I have no idea how to solve your problem cause I am a newbie with this but I was wondering if you could share your arduino sketch as I can’t even play a sound file yet. I got the board rigged using Arduino IDE 1.0, a 4gb micro sd and followed all the instructions on the wiki… but nothing works!!

Hi there.

Your problem also happened to me when I started, and I think this will solve it:

Use a FAT 16 SD Card (2 GB or less older models). Because 4 GB models are FAT32 cards will not run.
Upload an MP3 file to the SD Card.
Just Follow instructions for Demo 1 (arduino 1.0) and run musicPlayAll file within the music_v1_2 folder that arduino creates in Examples Folder once you save the downloaded library

Finally make sure that you have only 1 library saved at a time. If you have saved different versions simultaneously (for example Demo 1 and Demo 2 you may encounter problems.

Kind Regards and Good Luck.

Thanks a lot man, you saved my life. I can now play music from the shield. I’ll now try and learn how to code/cope with this library. What’s your project? what are you trying to do?

thanks again1