Soundboard (EZB) icon Soundboard (EZB) — Play WAV/MP3 via EZ-B v4, manage tracks, add timed scripts for synced robot actions, control via ControlCommand(), volume and clipping indicators. 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.