Pcf8575 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
Pcf8575(I2cDevice, Int32, GpioController) | |
Pcf8575(I2cDevice, Int32, GpioController, Boolean) |
/// Initializes a new instance of the Pcf8575 device. |
Pcf8575(I2cDevice, Int32, GpioController)
public Pcf8575 (System.Device.I2c.I2cDevice device, int interrupt = -1, System.Device.Gpio.GpioController gpioController = default);
new Iot.Device.Pcx857x.Pcf8575 : System.Device.I2c.I2cDevice * int * System.Device.Gpio.GpioController -> Iot.Device.Pcx857x.Pcf8575
Public Sub New (device As I2cDevice, Optional interrupt As Integer = -1, Optional gpioController As GpioController = Nothing)
Parameters
- device
- I2cDevice
- interrupt
- Int32
- gpioController
- GpioController
Applies to
Pcf8575(I2cDevice, Int32, GpioController, Boolean)
/// Initializes a new instance of the Pcf8575 device.
public Pcf8575 (System.Device.I2c.I2cDevice device, int interrupt = -1, System.Device.Gpio.GpioController? gpioController = default, bool shouldDispose = true);
new Iot.Device.Pcx857x.Pcf8575 : System.Device.I2c.I2cDevice * int * System.Device.Gpio.GpioController * bool -> Iot.Device.Pcx857x.Pcf8575
Public Sub New (device As I2cDevice, Optional interrupt As Integer = -1, Optional gpioController As GpioController = Nothing, Optional shouldDispose As Boolean = true)
Parameters
- device
- I2cDevice
The I2C device.
- interrupt
- Int32
The interrupt pin number, if present.
- gpioController
- GpioController
The GPIO controller for the interrupt
.
If not specified, the default controller will be used.
- shouldDispose
- Boolean
True to dispose the Gpio Controller