I2cConnectionSettings(Int32) 构造函数

定义

使用总线速度和独占共享模式的标准模式的默认设置,为具有指定总线地址的 I2cConnectionSettings (I2 C) 设备创建并初始化 I2cConnectionSettings 类的新实例。

public:
 I2cConnectionSettings(int slaveAddress);
 I2cConnectionSettings(int const& slaveAddress);
public I2cConnectionSettings(int slaveAddress);
function I2cConnectionSettings(slaveAddress)
Public Sub New (slaveAddress As Integer)

参数

slaveAddress
Int32

int

应应用 I2cConnectionSettings 设置的I2 C) 设备间 (集成电路的总线地址。 仅支持 7 位寻址,因此有效的值范围从 8 到 119。

适用于

另请参阅