![Sad :-(](./images/smilies/icon_sad.gif)
So I made a small component - the interface is a bit 'busy' for FC. Suggestions welcome - I' suspect naming similar routines to keep them together (PlayTrack, PlayFolder, Play....) might make things a bit easier here? All the play features are supported but there are some more 'query' routines to come, there a few demo ones here.
There is a small test program - I've used an Arduino Nano. I'm using a software serial port on D2 and D3. Other MCUs with multiple UARTs will do otherwise.
You'll need some tracks (mp3) in a folder 01 (for the demo - plays track 5) on an SD card - the tracks are named 0001.mp3 (a four digit number.mp3) - they can also be nnnnTEXT.mp3 - where nnnn is a four digit number. I haven't tried attaching flash memory etc.
Get FoldersSD - doesn't seem to work correctly (the DFPlayer returns number of folders including deleted ones!)
Martin