Hello Everyone,
I am trying to read a list of files from my SD card and delete the oldest. For some reason
the file name that is stored to be deleted is the last one read from the list instead of the oldest.
I am converting the time that the file was modified into unix time to find the oldest file and
this seems to work okay.
I have attached the results that I get when I run the program and a list of files that are stored
on the SD card.
I look forward to any help that you can give me.
regards,
Ray
I am trying to read a list of files from my SD card and delete the oldest. For some reason
the file name that is stored to be deleted is the last one read from the list instead of the oldest.
I am converting the time that the file was modified into unix time to find the oldest file and
this seems to work okay.
I have attached the results that I get when I run the program and a list of files that are stored
on the SD card.
I look forward to any help that you can give me.
regards,
Ray