Pages: [1]   Go Down
Author Topic: Creating a new text file in SD card with aduino  (Read 1041 times)
0 Members and 1 Guest are viewing this topic.
India
Offline Offline
Newbie
*
Karma: 1
Posts: 46
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

hai...
is it possible to create new file in the SD card with arduino?? i want to create new text files with a new file name. is it possible to do so?? if yes plzz help me....
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 652
Posts: 50869
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
is it possible to create new file in the SD card with arduino??
Yes,, it is..

Quote
is it possible to do so??
Yes,, it is..

Quote
if yes plzz help me....
OK,,,, please is not spelled plzz....

The datalogger example in the SD library shows how to create a new file.
Logged

India
Offline Offline
Newbie
*
Karma: 1
Posts: 46
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

sir, in that example we are only opening a file, not creating new file. I want to create new file in the SD card with arduino.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 652
Posts: 50869
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If the file doesn't exist, it will be created, if the open() statement uses FILE_WRITE. If it uses other values, the file may not be created.
Logged

Pakistan
Offline Offline
Sr. Member
****
Karma: 6
Posts: 357
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

OK,,,, please is not spelled plzz....
OK is spelled Okay? smiley-mr-green smiley-mr-green smiley-twist.. no pun intended...  smiley-yell
Logged


Pages: [1]   Go Up
Jump to: