Ultrasonic Collision Script icon Ultrasonic Collision Script — Ultrasonic sensor triggers custom script on object detection; configurable interval & min distance, with optional forward-only trigger for navigation. 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. The UART must be initialized first.