Mcp23x0x 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
Mcp23x0x(Mcp23xxx+BusAdapter, Int32, Int32, GpioController) | |
Mcp23x0x(Mcp23xxx+BusAdapter, Int32, Int32, GpioController, Boolean) |
Constructs Mcp23x0x instance |
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)
Parameters
- device
- Mcp23xxx.BusAdapter
- reset
- Int32
- interrupt
- Int32
- masterController
- GpioController
Applies to
Mcp23x0x(Mcp23xxx+BusAdapter, Int32, Int32, GpioController, Boolean)
Constructs Mcp23x0x instance
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)
Parameters
- device
- Mcp23xxx.BusAdapter
I2C device used to communicate with the device
- reset
- Int32
Reset pin
- interrupt
- Int32
Interrupt pin
- controller
- GpioController
GpioController related with
reset
and interrupt
pins
- shouldDispose
- Boolean
True to dispose the Gpio Controller
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for