Compartilhar via


Pcx8575 Construtores

Definição

Sobrecargas

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

Constrói a instância do Pcx8575

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)

Parâmetros

device
I2cDevice
interrupt
Int32
gpioController
GpioController

Aplica-se a

Pcx8575(I2cDevice, Int32, GpioController, Boolean)

Constrói a instância do Pcx8575

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)

Parâmetros

device
I2cDevice

Dispositivo I2C

interrupt
Int32

Pino de interrupção

gpioController
GpioController

GpioController relacionado com interrupt pin

shouldDispose
Boolean

True para descartar o controlador gpio

Aplica-se a