SparkFun Forums 

Where electronics enthusiasts find answers.

For the discussion of Arduino related topics.
By hireme
#121859
I apologize if this is too easy. I am successfully creating a log file on a thumb drive using a vdip1 from vinculum. The only remaining thing I have to figure out is how to stop appending the text. I want to add to the same file, but on a new line under the previous entry. What do I do to get it to "carriage return?". Please have mercy on a novice and help me by either pointing to a resource or showing a code example. Thanks for the help!
By westfw
#122206
"\n" surely?
Which may give you a unix-like file with only a linefeed between lines. To create DOS-style files
that have carriage return AND line feed you might need "\r\n"