Compartir a través de


Mcp23x1x Constructores

Definición

Sobrecargas

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

Construye la instancia de 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

Se aplica a

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

Construye la instancia de 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 comunicarse con el dispositivo

reset
Int32

Restablecer patilla

interruptA
Int32

Interrupción de un pin

interruptB
Int32

Patilla B de interrupción

controller
GpioController

GpioControllerrelacionados con resetinterruptA las patillas y interruptB

shouldDispose
Boolean

True para eliminar el controlador gpio

Se aplica a