共用方式為


I2cConnectionSettings(Int32, Int32) 建構函式

定義

初始化 I2cConnectionSettings 類別的新執行個體。

public I2cConnectionSettings (int busId, int deviceAddress);
new System.Device.I2c.I2cConnectionSettings : int * int -> System.Device.I2c.I2cConnectionSettings
Public Sub New (busId As Integer, deviceAddress As Integer)

參數

busId
Int32

I2C 裝置所連線的匯流排識別碼。

deviceAddress
Int32

I2C 裝置的匯流排位址。

適用於