1.测试了QMI8658的驱动,正常读出x,y,z轴数据,得到的pitch, roll, yaw正常

This commit is contained in:
Misaki
2025-08-23 01:13:16 +08:00
parent 48c2757af6
commit 80cfbec7df
10 changed files with 594 additions and 3 deletions
+4 -1
View File
@@ -3,7 +3,10 @@
#include <esp_log.h>
#include <drivers_test.h>
void app_main(void)
{
ESP_LOGI("main", "Now is Misaki");
imu_test(); // imu测试
}
+8 -1
View File
@@ -1,2 +1,9 @@
idf_component_register(SRCS "Bionic_sphere.c"
INCLUDE_DIRS ".")
"../test/driver_test/drivers_test.c" # 测试用例
"../Lib/I2C_Driver/I2C_Driver.c" # IIC底层驱动库
"../Lib/QMI8658/QMI8658.c" # IMU驱动库
INCLUDE_DIRS "."
"../test/driver_test"
"../Lib/I2C_Driver"
"../Lib/QMI8658"
)