I2CDevice.Execute Method
Executes a transaction by scheduling the transfer of the data involved.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)
Syntax
[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.
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