次の方法で共有


Pca8574 コンストラクター

定義

オーバーロード

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

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)

パラメーター

device
I2cDevice
interrupt
Int32
gpioController
GpioController

適用対象

Pca8574(I2cDevice, Int32, GpioController, Boolean)

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)

パラメーター

device
I2cDevice

I2C デバイス。

interrupt
Int32

割り込みピン番号 (存在する場合)。

gpioController
GpioController

interruptGPIO コントローラー。 指定しない場合は、既定のコントローラーが使用されます。

shouldDispose
Boolean

True を指定すると、Gpio コントローラーが破棄されます

適用対象