minimacplus/firmware/components/tme-esp32/mpu6050.h

16 lines
235 B
C
Raw Normal View History

#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);
2017-03-24 10:44:04 +00:00
void mpu6050_poll(int *x, int *y, int *z);
int mpu6050_init();