feat: 实现摇一摇导航功能

This commit is contained in:
2026-07-05 21:28:54 +08:00
parent e5e1d5b85e
commit ff7d82286a
16 changed files with 727 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
#pragma once
#include "esp_err.h"
typedef void (*imu_sample_cb_t)(float ax_g, float ay_g, float az_g);
esp_err_t imu_init(void);
esp_err_t imu_read_accel(float *ax, float *ay, float *az);
void imu_start_task(imu_sample_cb_t cb);