Share via


I2cConnectionSettings.SlaveAddress Property

Definition

Gets or sets the bus address of the inter-integrated circuit (I2 C) device.

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

Property Value

Int32

int

The bus address of the I2 C device. Only 7-bit addressing is supported, so the last bit of an 8-bit address must be omitted.

Applies to

See also