How to create a new line using SDRW when saving to SD card?
I'm trying to save data and make a new line for each new data string into my SD card using the SDRW obx program. I tried using the command
sdfat.pputc(13)
to make a new line but a new line does not appear on the saved data set in my SD card and my saved date appears as a looooong string. Does anyone know what command i should use to obtain a new line or carriage return?
Thank you.
sdfat.pputc(13)
to make a new line but a new line does not appear on the saved data set in my SD card and my saved date appears as a looooong string. Does anyone know what command i should use to obtain a new line or carriage return?
Thank you.
Comments
The newline character should come after the carriage return(13 10).
If you use a .txt as the file type and import the file to Excel, you'll see new lines with just the carriage return (13).
With Kye's SD driver I use this to end a line.