I2CDevice.CreateReadTransaction Method

Creates an I2CReadTransaction object that can be passed to the Execute method.

Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)

Syntax

public static I2CReadTransaction CreateReadTransaction (
         byte[] buffer
)

Parameters

  • buffer
    The array of bytes that will contain the data read from the device.

Return Value

An I2CReadTransaction object that can be passed to the Execute method.

Version Information

Available in the .NET Micro Framework versions 2.0, 2.5, 3.0, 4.0, 4.1, and 4.2.

See Also

Reference

I2CDevice Class
I2CDevice Members
Microsoft.SPOT.Hardware Namespace