Touch Path icon Touch Path Sketch paths with finger or mouse and set turn/move speeds; interactive, educational demo of timing-based, sensorless robot navigation and limits. Try it →
 

Hardwareuartwritestring

UART.hardwareUartWriteString(uartIndex, str, [ezbIndex])

Parameters

uartIndex Index of UART to write to.
str String to write to the UART.
ezbIndex (optional) Board index of the EZB to use.

Returns

Nothing

Description

Writes string given by str to the specified UART. The UART must be initialized first.

Example

var str = "some random amount of data";

// send the data to UART #0 on the first EZB
UART.hardwareUartWriteString(0, str);