FastLED 3.10.8
Loading...
Searching...
No Matches

◆ writeSerialLine()

template<typename SerialOut>
void fl::writeSerialLine ( SerialOut & serial,
const fl::string & str )

Write a string with newline to a serial-like output.

Template Parameters
SerialOutType providing println() method
Parameters
serialSerial output destination
strString to write

Definition at line 295 of file serial.h.

295 {
296 serial.println(str.c_str());
297}
const char * c_str() const FL_NO_EXCEPT

References FL_NO_EXCEPT.

Referenced by createSerialResponseSink().

+ Here is the caller graph for this function: