Pages: [1]   Go Down
Author Topic: Writing date and time to filename on SD card?  (Read 550 times)
0 Members and 1 Guest are viewing this topic.
Kitee, Finland
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Sen saa halvalla... jos haluaa. Jos ei halua, ei saa..
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Germany
Offline Offline
Faraday Member
**
Karma: 59
Posts: 3071
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Spain
Offline Offline
Full Member
***
Karma: 0
Posts: 191
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Michael_x also solved your doubt in other post:

http://arduino.cc/forum/index.php/topic,106697.msg800464.html#msg800464
Logged

Pages: [1]   Go Up
Jump to: