SSC-32 Servo Controller icon SSC-32 Servo Controller ARC integration for SSC-32 servo controllers via PC COM or EZ-B/Arduino UART; maps V0-V31, configurable baud, enables servos in ARC skills. Try it →
 

Hardwareuartread

UART.hardwareUartRead(uartIndex, bytesToRead, [ezbIndex])

Parameters

uartIndex Index of UART to read from.
bytesToRead Number of bytes to read from the UART.
ezbIndex (optional) Board index of the EZB to use.

Returns

A byte array of length bytesToRead containing data received from the specified UART.

Description

Returns a byte array of length bytesToRead containing data received from the specified UART. The UART must be initialized first.