I2CDevice.CreateWriteTransaction Method

Creates an I2CWriteTransaction 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 I2CWriteTransaction CreateWriteTransaction (
         byte[] buffer
)

Parameters

  • buffer
    The array of bytes that will be sent to the device.

Return Value

The I2CWriteTransaction 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