Edit

Share via


Pca8575 Constructors

Definition

Overloads

Pca8575(I2cDevice, Int32, GpioController)
Pca8575(I2cDevice, Int32, GpioController, Boolean)

Initializes a new instance of the Pca8575 device.

Pca8575(I2cDevice, Int32, GpioController)

public Pca8575 (System.Device.I2c.I2cDevice device, int interrupt = -1, System.Device.Gpio.GpioController gpioController = default);
new Iot.Device.Pcx857x.Pca8575 : System.Device.I2c.I2cDevice * int * System.Device.Gpio.GpioController -> Iot.Device.Pcx857x.Pca8575
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

Pca8575(I2cDevice, Int32, GpioController, Boolean)

Initializes a new instance of the Pca8575 device.

public Pca8575 (System.Device.I2c.I2cDevice device, int interrupt = -1, System.Device.Gpio.GpioController? gpioController = default, bool shouldDispose = true);
new Iot.Device.Pcx857x.Pca8575 : System.Device.I2c.I2cDevice * int * System.Device.Gpio.GpioController * bool -> Iot.Device.Pcx857x.Pca8575
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

Applies to