public interface I2cAddrConfig extends I2cAddressableDevice
I2cAddrConfig allows the runtime I2C address used with a sensor to be changed
or queried. Note that this does not affect the address that the actual hardware
sensor responds to on the I2C bus; rather, it configures software to interact with a
a hardware sensor living at a different I2C address than the one at which the software
is configured to use by default.I2cAddressableDevice| Modifier and Type | Method and Description |
|---|---|
void |
setI2cAddress(I2cAddr newAddress)
Configures a new I2C address to use
|
getI2cAddressvoid setI2cAddress(I2cAddr newAddress)
newAddress - the new I2C address to use