Pages: [1]   Go Down
Author Topic: Serial Monitor help!  (Read 416 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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?
Logged

Chicago
Offline Offline
Full Member
***
Karma: 0
Posts: 113
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Don
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Worked thanks!
Logged

Chicago
Offline Offline
Full Member
***
Karma: 0
Posts: 113
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

Pages: [1]   Go Up
Jump to: