Dimitar Borisov
/
testing_gyro
testing gyro
Fork of MEMSdemoBoardMKI124V1 by
Diff: MKI124V1.h
- Revision:
- 4:e89d74a1d9f5
- Parent:
- 0:91b1274ec397
diff -r 95fecaa76b4a -r e89d74a1d9f5 MKI124V1.h --- a/MKI124V1.h Sun Mar 22 16:17:19 2015 +0000 +++ b/MKI124V1.h Wed Mar 25 13:31:01 2015 +0000 @@ -64,9 +64,9 @@ typedef struct{ float pitch; float roll; - float Xrotation; - float Yrotation; - float Zrotation; + int16_t aX; + int16_t aY; + int16_t aZ; float heading; float tempC; float pressuremB; @@ -74,4 +74,11 @@ - +typedef struct{ + float x; + float y; + float z; + int16_t aX; + int16_t aY; + int16_t aZ; +}Result_avrg;