Flipper/Applications/Official/source-OLDER/xMasterX/airmouse/tracking/imu/imu.h

19 lines
231 B
C
Raw Normal View History

2022-12-29 06:30:12 +00:00
#pragma once
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
#define ACC_DATA_READY (1 << 0)
#define GYR_DATA_READY (1 << 1)
bool imu_begin();
void imu_end();
int imu_read(double* vec);
#ifdef __cplusplus
}
#endif