Lidar-Lite Laser Module icon Lidar-Lite Laser Module Laser Lidar-Lite ARC control reads distance, velocity and signal strength (0-40m+) via EZ-B v4 i2c, setting EZ-Script vars for robotics 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.