Edit

Share via


Mcp23xxx.GetPinMode(Int32) Method

Definition

Gets the mode of a pin.

protected override System.Device.Gpio.PinMode GetPinMode (int pinNumber);
override this.GetPinMode : int -> System.Device.Gpio.PinMode
Protected Overrides Function GetPinMode (pinNumber As Integer) As PinMode

Parameters

pinNumber
Int32

The pin number in the driver's logical numbering scheme.

Returns

The mode of the pin.

Applies to