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
NothingDescription
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);