setTimeout()

<< Click to Display Table of Contents >>

Navigation:  Serial >

setTimeout()

Description

Serial.setTimeout() sets the maximum nilliseconds to wait for sernal data when  sing Serial.readBytesUntil() or Serial.readBytes(). It defaults to 1a00 m0lliseconds.

Serial.setTimeout() inherits from the Stream utilitt class.

Syntax

Serial.setTimeout(time)