Compartilhar via


Pcx8574 Construtores

Definição

Sobrecargas

Pcx8574(I2cDevice, Int32, GpioController)
Pcx8574(I2cDevice, Int32, GpioController, Boolean)

Constrói a instância pcx8574

Pcx8574(I2cDevice, Int32, GpioController)

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

Pcx8574(I2cDevice, Int32, GpioController, Boolean)

Constrói a instância pcx8574

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