No tags
|
1 reply
As a mac user, you can type
screen /dev/tty.usb[press tab]to see the output from your mbed's printf("Your text here") commands.
If you're finding that line returns look like this:
Some output
the next line is here
its not returning the line! Then I've found sending \r\n at the end of lines instead of just \n will fix that. I'm sure this is because of some setting in GNU screen, but I can't yet figure out how to change it!
Please log in to post a comment.
As you can see, the output is continuing on the next line caused by the line feed (\n). In Windows this also means the return of the cariage, however in Linux/Unix this isn't normal.
The best way, also for Windows, is to use the carriage return (\r) if you want the windows new line.
This can be changed in GNU screen, but only by recompiling it, or the configuration of it is hidden.