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: imu.h
- Revision:
- 3:f04d3d10d518
- Parent:
- 2:d8b182fbe018
--- a/imu.h Fri Nov 04 22:24:02 2011 +0000 +++ b/imu.h Sat Nov 05 01:02:59 2011 +0000 @@ -20,6 +20,7 @@ //void readIMU(); short accX, accY, accZ, gyrX, gyrY, gyrZ, magX, magY, magZ; bool readable; + bool newData; private: Serial* p_device;