|
FastLED 3.9.15
|
| fl::optional< fl::string > fl::readSerialLine | ( | SerialIn & | serial, |
| char | delimiter = '\n', | ||
| fl::optional< u32 > | timeoutMs = fl::nullopt ) |
Read a line from a serial-like input source (blocking with optional timeout)
| SerialIn | Type providing available() and read() methods |
| serial | Serial input source |
| delimiter | Line delimiter character (default: ' ') |
| timeoutMs | Optional timeout in milliseconds (nullopt = wait forever) |
Definition at line 191 of file serial.h.
References readSerialStringUntil().
Here is the call graph for this function: