A class to receive data from the SparkFun 9DOF Razor IMU. It can be easily adapted to work with IMUs with different data formats.
Diff: main.cpp
- Revision:
- 4:8f63393d49fb
- Parent:
- 2:d8b182fbe018
--- a/main.cpp Sat Nov 05 01:02:59 2011 +0000 +++ b/main.cpp Mon Jul 08 04:04:21 2013 +0000 @@ -3,7 +3,7 @@ * Updated to use interrupts - this will help when we intergrate this code into AVNavControl * 9dof razor from sparkfun, http://www.sparkfun.com/products/10736 */ -/* + #define GYRO_SCALE 14.375 // ticks per degree, http://www.sparkfun.com/datasheets/Sensors/Gyro/PS-ITG-3200-00-01.4.pdf #include "mbed.h" @@ -179,4 +179,3 @@ if ((*i)>>15) *i = 512 - (~(*i)); else *i = 512 + *i; } -*/ \ No newline at end of file