FastLED 3.10.9
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 312 of file serial.h.

312 {
313 serial.println(str.c_str());
314}
const char * c_str() const FL_NO_EXCEPT

References FL_NO_EXCEPT.