Compartir a través de


Pca8575 Constructores

Definición

Sobrecargas

Pca8575(I2cDevice, Int32, GpioController)
Pca8575(I2cDevice, Int32, GpioController, Boolean)

Inicializa una nueva instancia del dispositivo Pca8575.

Pca8575(I2cDevice, Int32, GpioController)

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

Pca8575(I2cDevice, Int32, GpioController, Boolean)

Inicializa una nueva instancia del dispositivo Pca8575.

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