append a \r\n to a JSON.stringify before sending to Serial1? #298
Unanswered
espruino-discuss
asked this question in
JavaScript
Replies: 2 comments
-
Posted at 2014-07-22 by @gfwilliams could you use |
Beta Was this translation helpful? Give feedback.
0 replies
-
Posted at 2014-07-22 by d0773d @gordon That worked, thanks! I didn't know println existed. I need to read the documentation more closely. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2014-07-22 by d0773d
I would like to append a \r\n to my JSON.stringify before submitting the values to Serial1. I have:
My Terminal window shows the json properly. However, every time the json data gets sent, the next line shows right next to the earlier json data instead of underneath. I need to append a \r\n so the string that is sent will show on the next line. How do I achieve that?
Beta Was this translation helpful? Give feedback.
All reactions