GpioController.GetPinMode(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.