설명
Prints data to the serial port as human-readable ASCII text followed by a carriage return character (ASCII 13, or '\r') and a newline character (ASCII 10, or '\n'). This command takes the same forms as Serial.print().
문법
Serial.println(val)
Serial.println(val, format)
매개변수
val
: the value to print - any data type
format
: specifies the number base (for integral data types) or number of decimal places (for floating point types)
반환
size_t
: println()
returns the number of bytes written, though reading that number is optional