FastLED 3.10.8
Loading...
Searching...
No Matches

◆ peek()

int fl::SerialPort::peek ( )

Peek at next byte without removing it from buffer.

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

Note: Not all platforms support peek(). May return -1 always.

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

31 {
32 return fl::peek();
33}
int peek() FL_NO_EXCEPT

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

Referenced by parseFloat(), and parseInt().

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