Loading...
Pages: [1]   Go Down
Author Topic: Serial Port Monitor  (Read 106 times)
0 Members and 1 Guest are viewing this topic.
(USA)
Offline Offline
Full Member
***
Karma: 0
Posts: 191
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Is their anyway to put spaces or a new line in the monitor each time the Arduino reports a value to the computer?


Thanks!
Logged

Global Moderator
UK
Offline Offline
Brattain Member
*****
Karma: 137
Posts: 19016
I don't think you connected the grounds, Dave.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes.
You can use println, or print a space
Logged

Pete, it's a fool looks for logic in the chambers of the human heart.

(USA)
Offline Offline
Full Member
***
Karma: 0
Posts: 191
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How would that look? Serial.println; ?

Thanks!
Logged

(USA)
Offline Offline
Full Member
***
Karma: 0
Posts: 191
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I found out what it looks like...Serial.println();

Thanks!
Logged

Manchester (England England)
Online Online
Brattain Member
*****
Karma: 273
Posts: 25473
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes, when in doubt look at the referance page from your IDE, they are all on that.
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 279
Posts: 15314
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How would that look? Serial.println; ?

Thanks!

Serial.println(" Hi there "); // will print Hi there on a line by itself on the serial monitor
Serial.print(" Hi there ");   // will print Hi there on a line but the next serial print will follow it on the same  
                                    //line on the serial monitor.

http://arduino.cc/en/Serial/Println
http://arduino.cc/en/Serial/Print

Lefty
Logged

Pages: [1]   Go Up
Print
 
Jump to: