10#ifndef M5_UNIT_IMU_UNIT_UNIT_DOF9_HPP
11#define M5_UNIT_IMU_UNIT_UNIT_DOF9_HPP
13#include <M5UnitComponent.hpp>
27 M5_UNIT_COMPONENT_HPP_BUILDER(
UnitDoF9, 0xFF );
32 explicit UnitDoF9(
const uint8_t bmi_addr = 0x68);
57 virtual std::shared_ptr<Adapter> ensure_adapter(
const uint8_t ch)
override;
6-axis (accel + gyro) IMU unit. CoreS3/AtomS3R built-in
Definition unit_bmi270.hpp:34
3-axis magnetometer unit (U231, GROVE)
Definition unit_bmm350.hpp:28
Unit DoF9: BMI270 + BMM350, both directly on the GROVE main bus (no AUX bypass). The BMI270 address i...
Definition unit_dof9.hpp:26
UnitBMI270 & imu()
Accel/gyro sub-unit (add to an AhrsController)
Definition unit_dof9.hpp:39
virtual ~UnitDoF9()
Destructor.
Definition unit_dof9.hpp:34
UnitDoF9(const uint8_t bmi_addr=0x68)
Construct with the BMI270's I2C address (the composite children derive from this)
Definition unit_dof9.cpp:23
UnitBMM350 & mag()
Magnetometer sub-unit (add to an AhrsController)
Definition unit_dof9.hpp:44
virtual bool begin() override
Begin: children are begun by the framework (all on the shared bus, any order)
Definition unit_dof9.hpp:50
Top level namespace of M5Stack.
Definition ahrs_controller.cpp:26
UnitBMI270 (6-axis IMU) unit component.
UnitBMM350 (3-axis magnetometer, U231) unit component.