This page is also available in 3 other languages

Serial.flush()

설명

Waits for the transmission of outgoing serial data to complete. (Prior to Arduino 1.0, this instead removed any buffered incoming serial data.)

flush() inherits from the Stream utility class.

문법

Serial.flush()

Arduino Mega only:

Serial1.flush()
Serial2.flush()
Serial3.flush()

매개변수

Nothing

반환

Nothing

더보기