陀螺仪的初级数据获取
This commit is contained in:
15
app/by_imu.h
Normal file
15
app/by_imu.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef _BY_IMU_H__
|
||||
#define _BY_IMU_H__
|
||||
|
||||
#include "stdio.h"
|
||||
#include "ch32v30x.h"
|
||||
|
||||
extern float imu_acc_x;
|
||||
extern float imu_acc_y;
|
||||
extern float imu_acc_z;
|
||||
extern float imu_gyro_x;
|
||||
extern float imu_gyro_y;
|
||||
extern float imu_gyro_z;
|
||||
|
||||
extern void by_imu_data_get(void);
|
||||
#endif
|
||||
Reference in New Issue
Block a user