Language
Edit

Pca8574 Constructors

Definition

Overloads

Name Description
Pca8574(I2cDevice, Int32, GpioController)
Pca8574(I2cDevice, Int32, GpioController, Boolean)

Initializes a new instance of the Pca8574 device.

Pca8574(I2cDevice, Int32, GpioController)

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

Pca8574(I2cDevice, Int32, GpioController, Boolean)

Initializes a new instance of the Pca8574 device.

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