FastLED 3.9.15
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 34 of file serial.cpp.hpp.

34 {
35 return fl::peek();
36}
int peek()

References fl::peek().

Referenced by parseFloat(), and parseInt().

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