Compartir a través de


Pcx857x Constructores

Definición

Sobrecargas

Pcx857x(I2cDevice, Int32, GpioController)
Pcx857x(I2cDevice, Int32, GpioController, Boolean)

Expansador de E/S remoto para bus I2C con interrupción.

Pcx857x(I2cDevice, Int32, GpioController)

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

Pcx857x(I2cDevice, Int32, GpioController, Boolean)

Expansador de E/S remoto para bus I2C con interrupción.

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