Compartir a través de


Pcf8575 Constructores

Definición

Sobrecargas

Pcf8575(I2cDevice, Int32, GpioController)
Pcf8575(I2cDevice, Int32, GpioController, Boolean)

Inicializa una nueva instancia del dispositivo Pcf8575.

Pcf8575(I2cDevice, Int32, GpioController)

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

Pcf8575(I2cDevice, Int32, GpioController, Boolean)

Inicializa una nueva instancia del dispositivo Pcf8575.

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

El 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