Hi. I'm doing an animatronic setup and want to use your shield for the audio portion. Basically, what I need to do is this:
1) Wait a little while
2) Play a random mp3 file on the SD card
3) Repeat
It looks like mp3.PlayTrack(track #) will do what I need, but is there a way to read the SD card and see how many mp3 files there are? That way, "track #" above can be random(number of files). I can use a constant at the moment, but if we ever go back and add/subtract audio tracks, I'd have to change the constant every time, which is a pain in the neck.
Any advice would be appreciated. Thanks.