Partilhar via


GpioController.SetPinMode(Int32, PinMode) Método

Definição

Define o modo como um pino.

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)

Parâmetros

pinNumber
Int32

O número de fixação no esquema de numeração do controlador.

mode
PinMode

O modo a ser definido.

Aplica-se a