Sdílet prostřednictvím


Mcp23x1x Konstruktory

Definice

Přetížení

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

Sestavení instance 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)

Parametry

reset
Int32
interruptA
Int32
interruptB
Int32
masterController
GpioController

Platí pro

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

Sestavení instance 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)

Parametry

device
Mcp23xxx.BusAdapter

Zařízení I2C používané ke komunikaci se zařízením

reset
Int32

Resetování pinu

interruptA
Int32

Přerušení připínáčku

interruptB
Int32

Přerušení špendlíku B

controller
GpioController

GpioController související s resetinterruptA a interruptB špendlíky

shouldDispose
Boolean

True pro odstranění kontroleru Gpio

Platí pro