Isabella Gomez Torres
/
IMU6050
additional edits to James’ code
Diff: MPU6050.h
- Revision:
- 5:5873df1e58be
- Parent:
- 4:268d3fcb92ba
- Child:
- 6:502448484f91
diff -r 268d3fcb92ba -r 5873df1e58be MPU6050.h --- a/MPU6050.h Thu Feb 12 20:36:53 2015 +0000 +++ b/MPU6050.h Thu Feb 12 20:56:04 2015 +0000 @@ -261,8 +261,9 @@ */ void read( char adress, char *data, int length); - - + //added aditional functions + void getAcceleroAngle( float *data ); + void getOffset(float *accOffset, float *gyroOffset, int sampleSize); private: