Export (0) Print
Expand All

I2CDevice.Execute Method

.NET Micro Framework 3.0
Executes a transaction by scheduling the transfer of the data involved.

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

[MethodImplAttribute]
public int Execute (
         I2CTransaction[] xActions,
         int timeout
)

Parameters

xActions
The object that contains the transaction data.
timeout
The amount of time the system will wait before resuming execution of the transaction.

Return Value

The number of bytes of data transferred in the transaction.

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

Community Additions

ADD
Show:
© 2014 Microsoft