|
FastLED 3.9.15
|
Read bytes until delimiter is found.
| buffer | Pointer to destination buffer |
| length | Maximum number of bytes to read |
| delimiter | Character to stop reading at (not included in result) |
Reads bytes from serial until delimiter is found, timeout occurs, or buffer is full. The delimiter character is discarded (not included in the buffer).
Definition at line 200 of file serial.cpp.hpp.
References available(), length(), fl::millis(), mTimeoutMs, and read().
Here is the call graph for this function: