Description
Send data to the serial port in the form of human-readable ASCII code, similar to the print() command, but with line breaks.
Syntax
Serial.println(val)
Serial.println(val, format)
Example Code
void setup() {
Serial.begin(9600);
}void loop() {
Serial.print(“There is no line break!”);
Serial.print(“There is no line break too!”);
Serial.println(“There is line break in the end!”);
Serial.println(“There is line break!”);
}
Result