first commit

This commit is contained in:
2024-01-24 15:56:10 +08:00
commit 2c58355e63
40 changed files with 5524 additions and 0 deletions

25
IMU/alldata.h Normal file
View File

@ -0,0 +1,25 @@
#ifndef __ALLDATA_H
#define __ALLDATA_H
#include "main.h"
typedef struct{
int16_t accX;
int16_t accY;
int16_t accZ;
int16_t gyroX;
int16_t gyroY;
int16_t gyroZ;
}_st_Mpu;
typedef struct{
float roll;
float pitch;
float yaw;
}_st_AngE;
extern _st_Mpu ICM42688;
extern _st_AngE Angle;
#endif