MPU6050 simple library
Dependents: MPU6050_test Drone MPU6050_test acelerometro ... more
Diff: MPU6050.h
- Revision:
- 1:cf3a9ec7205e
- Parent:
- 0:6d1b9bcd64ca
- Child:
- 4:3ae3b817e1f8
diff -r 6d1b9bcd64ca -r cf3a9ec7205e MPU6050.h --- a/MPU6050.h Mon Sep 19 05:09:07 2016 +0000 +++ b/MPU6050.h Thu Jan 05 05:04:56 2017 +0000 @@ -120,6 +120,7 @@ void start(void); char getID(void); bool read(float *gx, float *gy, float *gz,float *ax, float *ay, float *az); + bool readraw(int *gx, int *gy, int *gz,int *ax, int *ay, int *az); private: I2C _MPU6050; float gx, gy, gz,ax,ay,az;