Hello, I need to get full filenames from SD card, including spaces and file extension, but I just can't get my head around the SD library. It prints all files in 8.3 format and deletes all spaces. Bet there is some reason for it. Any ideas guys?
The SD library does NOT print file names. YOUR code prints file names. YOUR code is missing.
luckyx182:
It prints all files in 8.3 format and deletes all spaces. Bet there is some reason for it. Any ideas guys?
8.3 filenames and the FAT file system are the only type of filenames supported by the SD library.
Microsofts 'long filenames' (LFN) using VFAT is not supported by the SD library.
jurs:
Microsofts 'long filenames' (LFN) using VFAT is not supported by the SD library.
So there's no way it could support long filenames?
Use the SdFat library. It supports long filenames.