共用方式為


I2cConnectionSettings.SlaveAddress 屬性

定義

取得或設定 (I2 C) 裝置之整合式線路的匯流排位址。

public:
 property int SlaveAddress { int get(); void set(int value); };
int SlaveAddress();

void SlaveAddress(int value);
public int SlaveAddress { get; set; }
var int32 = i2cConnectionSettings.slaveAddress;
i2cConnectionSettings.slaveAddress = int32;
Public Property SlaveAddress As Integer

屬性值

Int32

int

I2 C 裝置的匯流排位址。 僅支援 7 位定址,因此必須省略 8 位位址的最後一個位。

適用於

另請參閱