James Hutchinson
/
IMU6050
Header file and functions
Diff: MPU6050.h
- Revision:
- 4:268d3fcb92ba
- Parent:
- 3:187152513f8d
- Child:
- 5:5873df1e58be
diff -r 187152513f8d -r 268d3fcb92ba MPU6050.h --- a/MPU6050.h Thu Feb 12 10:26:56 2015 +0000 +++ b/MPU6050.h Thu Feb 12 20:36:53 2015 +0000 @@ -73,6 +73,10 @@ #define MPU6050_GYRO_RANGE_1000 2 #define MPU6050_GYRO_RANGE_2000 3 +//define how the accelerometer is placed on surface +#define X_AXIS 1 +#define Y_AXIS 2 +#define Z_AXIS 0 /** MPU6050 IMU library. *