Go Down

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


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?


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

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131