EZB Connections icon EZB Connections Add and manage up to 255 EZ-B I/O controller connections in ARC, select COM/IP ports or device addresses to connect or remove devices. Try it →
 

Readstring

I2C.readString(address, bytesToExpect, [ezbIndex])

Parameters

address Address of the device to read from as a hexadecimal number (e.g.0x5e).
bytesToExpect Number of bytes to read from the device (1 byte = 1 character).
ezbIndex (optional) Board index of the EZB to read from.

Returns

A string of length bytesToExpect.

Description

Reads a string of data of length bytesToExpect from the device at address.