ArduinoRS485 - read()

Reads incoming serial data.

Syntax

RS485.read()

Parameters

None.

Returns

The first byte of incoming serial data available or -1 if no data is available.

See also