-
I'm debuging a problem with getting keys from the keyboard in a loop, and I'm printing the b_input value in a loop
but I have the output like
or, if I ommit the \n parameter is there a way to implement the \r printf command? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
For b_output to serial characters are interpreted by whatever software receives the characters outside BM.
output_chars_newline handles 13 (\n) and 10 (\r) differently. |
Beta Was this translation helpful? Give feedback.
-
So |
Beta Was this translation helpful? Give feedback.
-
This is fixed in the latest code. I added code to deal with a carriage return I updated the demo assembly apps as well to use
|
Beta Was this translation helpful? Give feedback.
This is fixed in the latest code.
I added code to deal with a carriage return
\r
properly. It clears the current line of output.I updated the demo assembly apps as well to use
\n
's as well. I had the values swapped.0x0D
is a newline.0x0A
is a carriage return.