Arduino Function: Process.peek

Description

Clears the Process buffer of any bytes. Waits for the transmission of outgoing data to complete.

Syntax

Process.flush()


Based on the reference originally written by Arduino Community,  wiring.org.co and  arduino.cc