Edit

Share via


Mcp23xxx.SetPinMode(Int32, PinMode) Method

Definition

Sets a mode to a pin.

protected override void SetPinMode (int pinNumber, System.Device.Gpio.PinMode mode);
override this.SetPinMode : int * System.Device.Gpio.PinMode -> unit
Protected Overrides Sub SetPinMode (pinNumber As Integer, mode As PinMode)

Parameters

pinNumber
Int32

The pin number.

mode
PinMode

The mode to be set.

Applies to