Language
Edit

Pcf8574 Constructors

Definition

Overloads

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

Initializes a new instance of the Pca8574 device.

Pcf8574(I2cDevice, Int32, GpioController)

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

Pcf8574(I2cDevice, Int32, GpioController, Boolean)

Initializes a new instance of the Pca8574 device.

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