설명
Serial.setTimeout()
sets the maximum milliseconds to wait for serial data. It defaults to 1000 milliseconds.
Serial.setTimeout()
inherits from the Stream utility class.
문법
Serial.setTimeout(time)
매개변수
time
: timeout duration in milliseconds (long
).
반환
Nothing