Sdílet prostřednictvím


Mcp23x0x Konstruktory

Definice

Přetížení

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

Sestavení instance Mcp23x0x

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

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

Parametry

reset
Int32
interrupt
Int32
masterController
GpioController

Platí pro

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

Sestavení instance Mcp23x0x

protected Mcp23x0x (Iot.Device.Mcp23xxx.Mcp23xxx.BusAdapter device, int reset, int interrupt, System.Device.Gpio.GpioController? controller = default, bool shouldDispose = true);
new Iot.Device.Mcp23xxx.Mcp23x0x : Iot.Device.Mcp23xxx.Mcp23xxx.BusAdapter * int * int * System.Device.Gpio.GpioController * bool -> Iot.Device.Mcp23xxx.Mcp23x0x
Protected Sub New (device As Mcp23xxx.BusAdapter, reset As Integer, interrupt As Integer, Optional controller As GpioController = Nothing, 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

interrupt
Int32

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

controller
GpioController

GpioController související s reset a interrupt špendlíky

shouldDispose
Boolean

True pro odstranění kontroleru Gpio

Platí pro