Edit

Share via


GpioController.GetPinMode(Int32) Method

Definition

Gets the mode of a pin.

public System.Device.Gpio.PinMode GetPinMode (int pinNumber);
public virtual System.Device.Gpio.PinMode GetPinMode (int pinNumber);
member this.GetPinMode : int -> System.Device.Gpio.PinMode
abstract member GetPinMode : int -> System.Device.Gpio.PinMode
override this.GetPinMode : int -> System.Device.Gpio.PinMode
Public Function GetPinMode (pinNumber As Integer) As PinMode
Public Overridable Function GetPinMode (pinNumber As Integer) As PinMode

Parameters

pinNumber
Int32

The pin number in the controller's numbering scheme.

Returns

The mode of the pin.

Applies to