Go Down

Topic: Serial Monitor help! (Read 463 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