Pages: [1]   Go Down
Author Topic: Serial Port Monitor  (Read 371 times)
0 Members and 1 Guest are viewing this topic.
Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
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: 310
Posts: 26630
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." Ulysses Everett McGill.
Do not send technical questions via personal messaging - they will be ignored.

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How would that look? Serial.println; ?

Thanks!
Logged

Florida
Offline Offline
God Member
*****
Karma: 2
Posts: 559
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Thanks!
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 639
Posts: 34725
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: 362
Posts: 17307
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
Jump to: