Compartilhar via


Mcp23x1x Construtores

Definição

Sobrecargas

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

Constrói a instância mcp23x1x

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)

Parâmetros

reset
Int32
interruptA
Int32
interruptB
Int32
masterController
GpioController

Aplica-se a

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

Constrói a instância mcp23x1x

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)

Parâmetros

device
Mcp23xxx.BusAdapter

Dispositivo I2C usado para se comunicar com o dispositivo

reset
Int32

Redefinir pino

interruptA
Int32

Interromper um pino

interruptB
Int32

Interrupção do pino B

controller
GpioController

GpioControllerrelacionados com resetinterruptA pinos e interruptB

shouldDispose
Boolean

True para descartar o controlador gpio

Aplica-se a