CONFIG_MPU6050_I2C_ADDR

I2C address

Type: hex

Help

I2C address of the MPU6050 sensor. Choose 0x68 if the AD0 pin is pulled to GND or 0x69 if the AD0 pin is pulled to VDD.

Direct dependencies

MPU6050 && SENSOR

(Includes any dependencies from ifs and menus.)

Defaults

  • 0x68

Kconfig definition

At drivers/sensor/mpu6050/Kconfig:23

Included via Kconfig:10Kconfig.zephyr:40drivers/Kconfig:64drivers/sensor/Kconfig:112

Menu path: (Top) → Device Drivers → Sensor Drivers → MPU6050 Six-Axis Motion Tracking Device

config MPU6050_I2C_ADDR
    hex "I2C address"
    range 0x68 0x69
    default 0x68
    depends on MPU6050 && SENSOR
    help
      I2C address of the MPU6050 sensor.
      Choose 0x68 if the AD0 pin is pulled to GND or 0x69 if the AD0 pin
      is pulled to VDD.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)