HardwareProvider.GetI2CPins Method
Gets the GPIO pin assignments for the I2C device.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in microsoft.spot.hardware.dll)
Syntax
public virtual void GetI2CPins (
out Pin scl,
out Pin sda
)
Parameters
- scl
A value of the Cpu.Pin enumeration that identifies the GPIO pin that is assigned to the I2C serial clock signal. - sda
A value of the Cpu.Pin enumeration that identifies the GPIO pin that is assigned to the I2C serial data signal.
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
HardwareProvider Class
HardwareProvider Members
Microsoft.SPOT.Hardware Namespace