ESPHome  2024.10.2
Namespaces | Variables
mpu6050.cpp File Reference

Go to the source code of this file.

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::mpu6050
 

Variables

const uint8_t esphome::mpu6050::MPU6050_REGISTER_WHO_AM_I = 0x75
 
const uint8_t esphome::mpu6050::MPU6050_REGISTER_POWER_MANAGEMENT_1 = 0x6B
 
const uint8_t esphome::mpu6050::MPU6050_REGISTER_GYRO_CONFIG = 0x1B
 
const uint8_t esphome::mpu6050::MPU6050_REGISTER_ACCEL_CONFIG = 0x1C
 
const uint8_t esphome::mpu6050::MPU6050_REGISTER_ACCEL_XOUT_H = 0x3B
 
const uint8_t esphome::mpu6050::MPU6050_CLOCK_SOURCE_X_GYRO = 0b001
 
const uint8_t esphome::mpu6050::MPU6050_SCALE_2000_DPS = 0b11
 
const float esphome::mpu6050::MPU6050_SCALE_DPS_PER_DIGIT_2000 = 0.060975f
 
const uint8_t esphome::mpu6050::MPU6050_RANGE_2G = 0b00
 
const float esphome::mpu6050::MPU6050_RANGE_PER_DIGIT_2G = 0.000061f
 
const uint8_t esphome::mpu6050::MPU6050_BIT_SLEEP_ENABLED = 6
 
const uint8_t esphome::mpu6050::MPU6050_BIT_TEMPERATURE_DISABLED = 3
 
const float esphome::mpu6050::GRAVITY_EARTH = 9.80665f