Serial.flush()

설명

나가는 직렬 데이터의 전송이 완료 될 때까지 기다립니다.

flush() inherits from the Stream utility class.

문법

Serial.flush()

Arduino Mega only:

Serial1.flush()

Serial2.flush()

Serial3.flush()

매개변수

  • Nothing

반환값

  • 없음

※ 주의 및 경고:

Serial functions are not only used for the communication between an Arduino board and Serial Monitor of Arduino IDE but also used for the communication between:

  • An Arduino board and other Arduino board
  • An Arduino board and other sensors/devices
  • An Arduino board and computer (any Serial software on computer)

ARDUINO BUY RECOMMENDATION

Arduino UNO R3
Arduino Starter Kit
Please note: These are affiliate links. If you buy the components through these links, We may get a commission at no extra cost to you. We appreciate it.

※ OUR MESSAGES

  • We are AVAILABLE for HIRE. See how to hire us to build your project
  • Any suggestion, correction, and translation? please email us at ArduinoGetStarted@gmail.com, We appreciate it
  • We mainly keep improving the references in English. See English version of this page for the latest update.