mpu3050.h

This commit is contained in:
YcChan
2017-01-01 14:12:43 +08:00
committed by GitHub
parent bdd0d8cd57
commit 3800a72b38

8
mpu3050.h Normal file
View File

@@ -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