Go Down

Topic: What do ((no line ending, newline, carriage return & both NL + CR)) do?(monitor) (Read 2 times) previous topic - next topic

TECH GEEK

What do these do? (in the arduino's serial monitor)
so far i have yet to see any differences between them...

  • No line ending

  • Newline

  • Carriage return

  • Both NL + CR

As always... Thanks for posting!!!

Grumpy_Mike

They are options when sending stuff from the monitor to the arduino.

TECH GEEK

yeah I know they are options...

but what do they do? When should I use each one?
As always... Thanks for posting!!!

Grumpy_Mike

They do what they say.
No line ending just sends what you put.
New line sends an ASCII new line code after what you put
Carafe return puts an ASCII carriage return character after what you put, and the last one puts both a carriage return and a new line character after whatbyou put.

TECH GEEK

ohh like having an automatic end-of-phrase enter key pusher thingymagob?
As always... Thanks for posting!!!

Grumpy_Mike


Go Up