CONFIG_LIS3DH_I2C_ADDR

LIS3DH I2C address

Type: hex

Help

I2C address of the LIS3DH 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

LIS3DH && SENSOR

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

Defaults

Kconfig definition

At drivers/sensor/lis3dh/Kconfig:22

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

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

config LIS3DH_I2C_ADDR
    hex
    prompt "LIS3DH I2C address" if LIS3DH && SENSOR
    default 0x18 if LIS3DH && SENSOR
    depends on LIS3DH && SENSOR
    help
      I2C address of the LIS3DH 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.)