Edit

Share via


Mcp23x1x Constructors

Definition

Overloads

Mcp23x1x(Mcp23xxx+BusAdapter, Int32, Int32, Int32, GpioController)
Mcp23x1x(Mcp23xxx+BusAdapter, Int32, Int32, Int32, GpioController, Boolean)

Constructs Mcp23x1x instance

Mcp23x1x(Mcp23xxx+BusAdapter, Int32, Int32, Int32, GpioController)

protected Mcp23x1x (Iot.Device.Mcp23xxx.Mcp23xxx.BusAdapter device, int reset, int interruptA, int interruptB, System.Device.Gpio.GpioController masterController);
new Iot.Device.Mcp23xxx.Mcp23x1x : Iot.Device.Mcp23xxx.Mcp23xxx.BusAdapter * int * int * int * System.Device.Gpio.GpioController -> Iot.Device.Mcp23xxx.Mcp23x1x
Protected Sub New (device As Mcp23xxx.BusAdapter, reset As Integer, interruptA As Integer, interruptB As Integer, masterController As GpioController)

Parameters

reset
Int32
interruptA
Int32
interruptB
Int32
masterController
GpioController

Applies to

Mcp23x1x(Mcp23xxx+BusAdapter, Int32, Int32, Int32, GpioController, Boolean)

Constructs Mcp23x1x instance

protected Mcp23x1x (Iot.Device.Mcp23xxx.Mcp23xxx.BusAdapter device, int reset, int interruptA, int interruptB, System.Device.Gpio.GpioController? controller, bool shouldDispose = true);
new Iot.Device.Mcp23xxx.Mcp23x1x : Iot.Device.Mcp23xxx.Mcp23xxx.BusAdapter * int * int * int * System.Device.Gpio.GpioController * bool -> Iot.Device.Mcp23xxx.Mcp23x1x
Protected Sub New (device As Mcp23xxx.BusAdapter, reset As Integer, interruptA As Integer, interruptB As Integer, controller As GpioController, Optional shouldDispose As Boolean = true)

Parameters

device
Mcp23xxx.BusAdapter

I2C device used to communicate with the device

reset
Int32

Reset pin

interruptA
Int32

Interrupt A pin

interruptB
Int32

Interrupt B pin

controller
GpioController

GpioController related with resetinterruptA and interruptB pins

shouldDispose
Boolean

True to dispose the Gpio Controller

Applies to