CONFIG_LIS2DH_I2C_ADDR

LIS2DH I2C address

Type: hex

Help

I2C address of the LIS2DH sensor.

0x18: Choose this option if the SDO pin is pulled to GND. 0x19: Choose this option if the SDO pin is pulled to VDDIO.

Direct dependencies

LIS2DH && LIS2DH_BUS_I2C && SENSOR

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At drivers/sensor/lis2dh/Kconfig:68

Included via Kconfig:10Kconfig.zephyr:29drivers/Kconfig:64drivers/sensor/Kconfig:80

Menu path: (top menu) → Device Drivers → Sensor Drivers → LIS2DH Three Axis Accelerometer

config LIS2DH_I2C_ADDR
    hex
    prompt "LIS2DH I2C address" if LIS2DH && LIS2DH_BUS_I2C && SENSOR
    default 0x18 if LIS2DH && LIS2DH_BUS_I2C && SENSOR
    depends on LIS2DH && LIS2DH_BUS_I2C && SENSOR
    help
      I2C address of the LIS2DH sensor.

      0x18: Choose this option if the SDO pin is pulled to GND.
      0x19: Choose this option if the SDO pin is pulled to VDDIO.

(Definitions include propagated dependencies, including from if’s and menus.)