Custom Movement Panel V2 icon Custom Movement Panel V2 Custom Movement V2 panel for ARC: scripts for F/R/L, Reverse, roll left/right, up/down with speed mapping to PWM for drones, mecanum & custom drives Try it →
 

Hardwareuartreadstring

UART.hardwareUartReadString(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 string of length bytesToRead containing data received from the specified UART.

Description

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