GpioController.SetPinMode(Int32, PinMode) 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.
Sets the mode to a pin.
public void SetPinMode (int pinNumber, System.Device.Gpio.PinMode mode);
public virtual void SetPinMode (int pinNumber, System.Device.Gpio.PinMode mode);
member this.SetPinMode : int * System.Device.Gpio.PinMode -> unit
abstract member SetPinMode : int * System.Device.Gpio.PinMode -> unit
override this.SetPinMode : int * System.Device.Gpio.PinMode -> unit
Public Sub SetPinMode (pinNumber As Integer, mode As PinMode)
Public Overridable Sub SetPinMode (pinNumber As Integer, mode As PinMode)
Parameters
- pinNumber
- Int32
The pin number in the controller's numbering scheme.
- mode
- PinMode
The mode to be set.