Go Down

Topic: Serial Port Monitor (Read 429 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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy