Serial.print vs println
Send labeled values to the Serial Monitor.
Sending Words Out
Once the channel is open, you send text with Serial.print(). Whatever you pass shows up in the Serial Monitor on your computer.
Serial.print("Hello");Print Stays on One Line
The key thing about Serial.print() is that it does not move to a new line. The next print appears right after it.
Serial.print("Hi");
Serial.print("There");All lessons in this course
- Serial.begin and Baud Rate
- Serial.print vs println
- Watch Sensor Values Live
- Read Commands You Type