Corrected header file include guards.
Fork of IMUdriver by
Diff: MPU6000.cpp
- Revision:
- 4:492c7470dbfb
- Parent:
- 3:86d8320a62b4
- Child:
- 5:db1da6bc9dce
--- a/MPU6000.cpp Fri Mar 20 20:25:03 2015 +0000 +++ b/MPU6000.cpp Mon Apr 13 17:43:19 2015 +0000 @@ -446,3 +446,8 @@ gyroFliterPre = gyroFilterCurrent; return accFilterCurrent + gyroFilterCurrent; } + +float mpu6000_spi::read_angle_y() +{ + return accFilterCurrent + gyroFilterCurrent; +}