Mcp23x1x Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- device
- Mcp23xxx.BusAdapter
- 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
reset
interruptA
and interruptB
pins
- shouldDispose
- Boolean
True to dispose the Gpio Controller