Description
Get the number of bytes (characters) available for writing in the serial buffer without blocking the write operation.
Syntax
Serial.availableForWrite()
Parameters
Serial
: serial port object. See the list of available serial ports for each board on the Serial main page.
Returns
The number of bytes available to write.