Pages: [1]   Go Down
Author Topic: What do ((no line ending, newline, carriage return & both NL + CR)) do?(monitor)  (Read 1749 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Sr. Member
****
Karma: 0
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

As always... Thanks for posting!!!

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 508
Posts: 31384
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
Sr. Member
****
Karma: 0
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

yeah I know they are options...

but what do they do? When should I use each one?
Logged

As always... Thanks for posting!!!

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 508
Posts: 31384
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Sr. Member
****
Karma: 0
Posts: 297
Arduino rocks!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ohh like having an automatic end-of-phrase enter key pusher thingymagob?
Logged

As always... Thanks for posting!!!

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 508
Posts: 31384
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes exactly.
Logged

Pages: [1]   Go Up
Jump to: