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

19 lines
231 B
C

#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