Go Down

Topic: Serial Monitor help! (Read 525 times) previous topic - next topic

recognize

Im using serial monitor on arduino and when i type in commands it makes one continuous line instead of moving down a line. example i type and send 5 then send another five it will show 55 on the monitor instead of 5
                                                                                5

why is it doing this?

Frisky

Hi
To make a new line when you are done sending use
Serial.printnl("say something here");

Don


Frisky

Say you wanted to display a variable or something you could do it this way.
Serial.print("Display the value of myVar: ");
Serial.println(myVar);
Don


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