I would like 6 in total but if I name one mp3 file 0001.mp3 it plays from pin IO0, if I name a file 0002.mp3 it plays from pin IO1, if I name a file 0004.mp3 it plays from pin IO2, meaning if I rename 0004 to 0003 it won't play, and if I add more mp3 files and name them accordingly in numerical order they won't play, only the first 3 buttons will work but files names are 1, 2 and 4
I'm quite new to this so any help would be greatly appreciated as I'd like pin 0 to play mp3 1, and pin 1 to plays mp3 2 and so on
We need some additional information.
Post your sketch, well formated, with well-tempered comments and in so called code tags and schematic to see how we can help.
As you can see I have one cabe running to GND which is running to all 6 buttons and I have 6 buttons all running their own positive (pin IO0 has just came off) 3 white and 3 red, the first 3 work
Pin IO0 is 00001.mp3
Pin IO1 is 00002.mp3
Pin IO2 is 00004.mp3
00005.mp3 and 00006.mp3 do not work on the buttons
What I want is; I have about 200 mp3 files. It will start and end from the song I selected via Serial connection with Arduino Nano. It will only play 1 song I want and stop.
I searched many sources but none of the code worked.
Can you help me?
Best Regards