Compartir a través de


GpioController.SetPinMode(Int32, PinMode) Método

Definición

Establece el modo en un 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)

Parámetros

pinNumber
Int32

Número de patilla del esquema de numeración del controlador.

mode
PinMode

Modo que se va a establecer.

Se aplica a