Go Down

Topic: Serial Port Monitor (Read 408 times) previous topic - next topic

Drew Davis

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


Thanks!

AWOL

Yes.
You can use println, or print a space
"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.

Drew Davis

How would that look? Serial.println; ?

Thanks!

Drew Davis

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

Thanks!

Grumpy_Mike

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

retrolefty


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

Go Up