Servo Pad icon Servo Pad Drag mouse or finger as a virtual joystick to control pan/tilt x- and y-axis servos with configurable ports, limits, inversion, and backgrounds. 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);