Irobot Roomba Legacy icon Irobot Roomba Legacy Legacy iRobot Discovery and 4xxx control via EZB software-serial (D0), supports Arduino/EZ-Robot, adjustable baud rate; not for hardware UART/USB Try it →
 

Hardwareuartreadstringavailable

UART.hardwareUartReadStringAvailable(uartIndex, [ezbIndex])

Parameters

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

Returns

A string containing all available data received from the specified UART.

Description

Returns a string containing all available data received from the specified UART.