read all files on SD card

General discussion on mikroC PRO for AVR.
Author
Message
User avatar
Aleksandar.Mitrovic
mikroElektronika team
Posts: 1697
Joined: 11 Mar 2015 12:48

Re: read all files on SD card

#16 Post by Aleksandar.Mitrovic » 18 Feb 2016 16:04

Hi,

Unfortunately you will not be able to run it with existing FAT32 functions since you will have to know the name of the file.
Also we do not have routines for the Cluster playing.
You can try to use:

Code: Select all

short FAT32_Dev_Read_Sector(unsigned long s, char *buf);
If you know the position of the file in the memory. Store it to some buffer and play it from that location.

Little information. We are working on support for LongFileName in FAT32 library and it should be supported soon I hope.

Best regards,
Aleksandar

Post Reply

Return to “mikroC PRO for AVR General”