Compartir a través de


Pca8574 Constructores

Definición

Sobrecargas

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

Inicializa una nueva instancia del dispositivo Pca8574.

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)

Parámetros

device
I2cDevice
interrupt
Int32
gpioController
GpioController

Se aplica a

Pca8574(I2cDevice, Int32, GpioController, Boolean)

Inicializa una nueva instancia del dispositivo Pca8574.

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)

Parámetros

device
I2cDevice

Dispositivo I2C.

interrupt
Int32

Número de patilla de interrupción, si está presente.

gpioController
GpioController

Controlador GPIO para interrupt. Si no se especifica, se usará el controlador predeterminado.

shouldDispose
Boolean

True para eliminar el controlador gpio

Se aplica a