ARC Pro

Upgrade to ARC Pro

Synthiam ARC Pro is a cool new tool that will help unleash your creativity with programming robots in just seconds!

initHardwareUart

UART.initHardwareUart(uartIndex, baud, [ezbIndex])

Parameters

uartIndex Index of UART to initialize.
baud Baud rate to set the UART to.
ezbIndex (optional) Board index of the EZB to use.

Returns

Nothing

Description

Initializes the UART with the specified baud rate. The UART will stay initialized until the EZB is power cycled. The UART must be initialized using this command before you can READ or WRITE to the interface. 

Once you have initialized the UART interface with this command, you may now use the other UART commands to read and write to the interface.