diff --git a/mpu3050.h b/mpu3050.h new file mode 100644 index 0000000..7b1e6c1 --- /dev/null +++ b/mpu3050.h @@ -0,0 +1,8 @@ +#ifndef __mpu3050_H +#define __mpu3050_H + +#define GYRO_SCALE 0.060975 + +void mpu3050_init(void); +void mpu3050_get_data(s16 *gx, s16 *gy, s16 *gz, s16 *temperature); +#endif