EZB Connections icon EZB Connections — Add and manage up to 255 EZ-B I/O controller connections in ARC, select COM/IP ports or device addresses to connect or remove devices. Try it →
 

Hardwareuartreadavailable

UART.hardwareUartReadAvailable(uartIndex, [ezbIndex])

Parameters

uartIndex Index of UART to read from.
ezbIndex (optional) Board index of the EZB to use.

Returns

A byte array containing all available data received from the specified UART.

Description

Returns a byte array containing all available data received from the specified UART. The UART must be initialized first.