10#ifndef M5_UNIT_IMU_UNIT_UNIT_MPU6500_HPP
11#define M5_UNIT_IMU_UNIT_UNIT_MPU6500_HPP
36 return id == 0x70 ||
id == 0x71;
40 return 1.0f / 333.87f;
TDK InvenSense MPU-6500 6-axis core (accel + gyro + temp)
Definition unit_mpu6500.hpp:24
bool accepts_whoami(const uint8_t id) const override
Accepted WHO_AM_I id(s) for this chip; begin() rejects the device unless this returns true.
Definition unit_mpu6500.hpp:34
float temperature_offset() const override
Temperature conversion: degC offset (imu_convert_param_t::temp_offset)
Definition unit_mpu6500.hpp:42
float temperature_res() const override
Temperature conversion: degC per LSB (imu_convert_param_t::temp_res)
Definition unit_mpu6500.hpp:38
Shared base for the TDK InvenSense MPU 6-axis family (accel + gyro + temp)
Definition unit_mpu6xxx.hpp:33
UnitMPU6xxx(const uint8_t addr=DEFAULT_ADDRESS)
Protected: UnitMPU6xxx is abstract, constructed only by concrete derived chips.
Definition unit_mpu6xxx.cpp:37
Top level namespace of M5Stack.
Definition ahrs_controller.cpp:26
UnitMPU6xxx: shared base for the InvenSense MPU 6-axis family.