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.

Example

var str = "some random amount of data";

// write the amount of data we're gonna send
UART.hardwareUartWrite(0, str.length);

// now send the data
UART.hardwareUartWriteString(0, str);