共用方式為


ProviderI2cConnectionSettings.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 = providerI2cConnectionSettings.slaveAddress;
providerI2cConnectionSettings.slaveAddress = int32;
Public Property SlaveAddress As Integer

屬性值

Int32

int

I2 C 裝置的匯流排位址。 僅支援 7 位定址,因此有效的值範圍是從 8 到 119。

適用於