GetI2CPins Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Gets the GPIO pin assignments for the I2C device.
Namespace: Microsoft.SPOT.Hardware
Assembly: Microsoft.SPOT.Hardware (in Microsoft.SPOT.Hardware.dll)
Syntax
'Declaration
Public Overridable Sub GetI2CPins ( _
<OutAttribute> ByRef scl As Cpu.Pin, _
<OutAttribute> ByRef sda As Cpu.Pin _
)
public virtual void GetI2CPins(
out Cpu.Pin scl,
out Cpu.Pin sda
)
public:
virtual void GetI2CPins(
[OutAttribute] Cpu::Pin% scl,
[OutAttribute] Cpu::Pin% sda
)
abstract GetI2CPins :
scl:Cpu.Pin byref *
sda:Cpu.Pin byref -> unit
override GetI2CPins :
scl:Cpu.Pin byref *
sda:Cpu.Pin byref -> unit
public function GetI2CPins(
scl : Cpu..::..Pin,
sda : Cpu..::..Pin
)
Parameters
- scl
Type: Microsoft.SPOT.Hardware. . :: . .Cpu. . :: . .Pin%
A value of the Cpu..::..Pin enumeration that identifies the GPIO pin that is assigned to the I2C serial clock signal.
- sda
Type: Microsoft.SPOT.Hardware. . :: . .Cpu. . :: . .Pin%
A value of the Cpu..::..Pin enumeration that identifies the GPIO pin that is assigned to the I2C serial data signal.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.