Pcx857x Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
Pcx857x(I2cDevice, Int32, GpioController) | |
Pcx857x(I2cDevice, Int32, GpioController, Boolean) |
Expansor de E/S remoto para I2C-bus com interrupção. |
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
Aplica-se a
Pcx857x(I2cDevice, Int32, GpioController, Boolean)
Expansor de E/S remoto para I2C-bus com interrupção.
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
O dispositivo I2C.
- interrupt
- Int32
O número do pino de interrupção, se presente.
- gpioController
- GpioController
O controlador GPIO para o interrupt
.
Se não for especificado, o controlador padrão será usado.
- shouldDispose
- Boolean
True para descartar o controlador gpio