0PricingLogin
Arduino & IoT Academy · Lesson

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

  1. Serial.begin and Baud Rate
  2. Serial.print vs println
  3. Watch Sensor Values Live
  4. Read Commands You Type
← Back to Arduino & IoT Academy