FastLED 3.10.8
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 27 of file serial.cpp.hpp.

27 {
28 return fl::read();
29}
int read() FL_NO_EXCEPT

References fl::FL_NO_EXCEPT, and fl::read().

Referenced by parseFloat(), parseInt(), and readString().

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