Hi!Is there any way to return filename string by index in specific folder? I also need to know total number of files in the folder.To switch wav files in wave/playstereo but files will be different from time to time, so I can not define names constantly.
yes, using f_readdir , you can get details in chibios/ext/fatfs/src/ff.hmake sure you do in a separate thread, as otherwise you'll glitch the audio.
Thank you!It works good.
Did you make an object out of that function?I would love to have a look at how you manage to use it