Rafiki Front Bumber icon Rafiki Front Bumber Rafiki front bumper plugin: reads 4 proximity sensors via serial, updates ARC variables, blocks motor movement toward detected obstacles for SLAM 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.