FastLED 3.9.15
Loading...
Searching...
No Matches

◆ read()

int fl::SerialPort::read ( )

Read next byte from serial input.

Returns
Byte value (0-255) if available, -1 if no data

This is a non-blocking read. If no data is available, returns -1.

Definition at line 30 of file serial.cpp.hpp.

30 {
31 return fl::read();
32}
int read()

References fl::read().

Referenced by parseFloat(), parseInt(), readBytes(), readBytesUntil(), readString(), and readStringUntil().

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