Edit

Share via


GpioController.SetPinMode(Int32, PinMode) Method

Definition

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.

Applies to