com.qualcomm.robotcore.hardware

## Interface I2cAddrConfig

- All Superinterfaces:
    I2cAddressableDevice
  All Known Subinterfaces:
    I2cDeviceSynch, I2cDeviceSynchSimple
  All Known Implementing Classes:
    I2cDeviceSynchImpl, I2cDeviceSynchImplOnSimple

      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.
  See Also:
    `I2cAddressableDevice`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setI2cAddress(I2cAddr newAddress)` Configures a new I2C address to use

    - ### Methods inherited from interface com.qualcomm.robotcore.hardware.I2cAddressableDevice

      `getI2cAddress`

- - ### Method Detail

    - #### setI2cAddress

          void setI2cAddress(I2cAddr newAddress)

      Configures a new I2C address to use
      Parameters:
        `newAddress` - the new I2C address to use