Syntax
int peek();
ContentsIndex
PreviousUpNext
UARTClass::peek Method
UARTClass Class
Syntax
int peek();
Description

returns the next byte of incoming serial data without removing it from the internal serial buffer

Returns

the first byte of incoming serial data available, -1 if no data is available

File

UARTClass.h

Class