Edit

Share via


Pcx8575 Constructors

Definition

Overloads

Pcx8575(I2cDevice, Int32, GpioController)
Pcx8575(I2cDevice, Int32, GpioController, Boolean)

Constructs Pcx8575 instance

Pcx8575(I2cDevice, Int32, GpioController)

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

Pcx8575(I2cDevice, Int32, GpioController, Boolean)

Constructs Pcx8575 instance

public Pcx8575 (System.Device.I2c.I2cDevice device, int interrupt = -1, System.Device.Gpio.GpioController? gpioController = default, bool shouldDispose = true);
new Iot.Device.Pcx857x.Pcx8575 : System.Device.I2c.I2cDevice * int * System.Device.Gpio.GpioController * bool -> Iot.Device.Pcx857x.Pcx8575
Public Sub New (device As I2cDevice, Optional interrupt As Integer = -1, Optional gpioController As GpioController = Nothing, Optional shouldDispose As Boolean = true)

Parameters

device
I2cDevice

I2C device

interrupt
Int32

Interrupt pin

gpioController
GpioController

GpioController related with interrupt pin

shouldDispose
Boolean

True to dispose the Gpio Controller

Applies to