mirror of
https://github.com/Spritetm/minimacplus.git
synced 2025-01-19 10:30:57 +00:00
16 lines
235 B
C
16 lines
235 B
C
|
|
#include <stdint.h>
|
|
|
|
typedef struct {
|
|
int16_t accelx;
|
|
int16_t accely;
|
|
int16_t accelz;
|
|
} mpu6050_accel_tp;
|
|
|
|
|
|
int mpu6050_read_fifo(mpu6050_accel_tp *meas, int maxct);
|
|
|
|
|
|
void mpu6050_poll(int *x, int *y, int *z);
|
|
int mpu6050_init();
|