Click or drag to resize

FX3ConnectionI2CReadBytes Method

Read bytes from an I2C slave device attached to the FX3.

Namespace:  FX3Api
Assembly:  FX3Api (in FX3Api.dll) Version: 2.9.4.0 (2.9.4)
Syntax
public byte[] I2CReadBytes(
	I2CPreamble Preamble,
	uint NumBytes,
	uint TimeoutInMs
)

Parameters

Preamble
Type: FX3ApiI2CPreamble
The I2C preamble to transmit at the start of the read operation
NumBytes
Type: SystemUInt32
The number of bytes to read over I2C after sending the preamble
TimeoutInMs
Type: SystemUInt32
Read timeout period, in ms

Return Value

Type: Byte
The data read from the I2C slave device
See Also