Serial.end()

설명

직렬 통신을 비활성화하여 RX 및 TX 핀을 일반 입력 및 출력에 사용할 수 있습니다. 직렬 통신을 다시 활성화하려면 Serial.begin()을 호출합니다.

문법

Serial.end()

Arduino Mega only:

Serial1.end()

Serial2.end()

Serial3.end()

매개변수

  • 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.