mirror of
https://github.com/UberGuidoZ/Flipper.git
synced 2024-12-24 23:40:12 +00:00
19 lines
231 B
C
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
|