Jump to content

Append buffer to SD file...how to have a "new line"?


ORSO2001

Recommended Posts

Dears All,

i am concatenating 4 String UTF-16 formated; between the strings I insert a ";" separator (also UTF-16 formated)...so...I am able to have the end buffer properly filled with th einformation...but I am not able to have a "new line" when I try again to append the buffer at the SD file.

I tried to insert, at the end of the buffer, a lot of characters (u\2424; u\000D; u\000A...etc alone and conbined )...but nothing works...or better...with the file saved as TXT and with the u\000D in the "windows note pad" I see the right lines...but if I use "notepad ++" or i try read this as CSV i have a long single line.

how to have a "new line" ?

thanks

Link to comment
Share on other sites

dears,

i think that I understood the "probem"...at the end I was adding some String items , also the ";" separator and the "EOF" simbol", bu tthis last has to be added directly in the buffer as "costant" and not as String.

Now seems works...I have to try to read from SD file into the buffer...

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...