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 →
 

Hardwareuartavailable

UART.hardwareUartAvailable(uartIndex, [ezbIndex])

Parameters

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

Returns

Number of bytes available in the UART receive buffer at the specified UART.

Description

Returns the number of bytes available in the UART receive buffer at the specified UART given by uartIndex.