FastLED 3.10.8
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 82 of file serial.cpp.hpp.

82 {
83 if (!str) {
84 return println();
85 }
86
87 fl::println(str);
88 return fl::strlen(str) + 1; // +1 for newline
89}
size_t println() FL_NO_EXCEPT
Print newline only.
void println(const char *str) FL_NO_EXCEPT
FASTLED_FORCE_INLINE size_t strlen(const char *s) FL_NO_EXCEPT
Definition cstring.h:56

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

+ Here is the call graph for this function: