Udostępnij za pośrednictwem


I2cConnectionSettings(Int32) Constructor

Definition

Creates and initializes a new instance of the I2cConnectionSettings class for inter-integrated circuit (I2 C) device with specified bus address, using the default settings of the standard mode for the bus speed and exclusive sharing mode.

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

Parameters

slaveAddress
Int32

int

The bus address of the inter-integrated circuit (I2 C) device to which the settings of the I2cConnectionSettings should apply. Only 7-bit addressing is supported, so the range of values that are valid is from 8 to 119.

Applies to

See also