FastLED 3.9.15
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 245 of file serial.h.

245 {
246 serial.println(str.c_str());
247}
const char * c_str() const FL_NOEXCEPT

References fl::basic_string::c_str().

Referenced by createSerialResponseSink().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: