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 位地址的最后一位。

适用于

另请参阅