FastLED 3.9.15
Loading...
Searching...
No Matches

◆ println() [2/5]

size_t fl::SerialPort::println ( const char * str)

Print string with newline to serial output.

Parameters
strNull-terminated string
Returns
Number of bytes written

Definition at line 85 of file serial.cpp.hpp.

85 {
86 if (!str) {
87 return println();
88 }
89
90 fl::println(str);
91 return fl::strlen(str) + 1; // +1 for newline
92}
size_t println()
Print newline only.
size_t strlen(const char *s) FL_NOEXCEPT
void println(const char *str) FL_NOEXCEPT

References fl::println(), println(), and fl::strlen().

+ Here is the call graph for this function: