Go Down

Topic: Writing date and time to filename on SD card? (Read 592 times) previous topic - next topic

Jimicc

Can anybody say how i can save every time new filename at my sd files? when i start program..

I wanna save date and time like "30052012_0918.CSV" or "300512_0918" (<- 30.5.2012 9:18)

i using arduino pro mini and rtc breakout, sd breakout..

is this possible?

michael_x

You should stick to "8.3" names like 120503xx.csv on a fat16 file system.

Not sure if it's better to omit the year, or to increment the last digits until you find a file that does not yet exist.
Depends on your needs/preferences.


Go Up