Forked from Aaron Berk's ITG3200 driver class library, customized for my specific application using 9DoF-Stick by Sparkfun.

Dependents:   HARP

Fork of ITG3200 by Aaron Berk

ITG-3200 is triple axis, digital interface, gyro sensor.

This library is forked from Aaron Berk's work.

This library is for specific application using 9DoF-Stick.

Datasheet:

http://invensense.com/mems/gyro/documents/PS-ITG-3200-00-01.4.pdf

This library has a feature to correct thermal drift of the device. For details, see Thermal Drift.

ITG-3200は3軸のデジタルインターフェースを備えたジャイロセンサです。

このライブラリは 9DoF-Stick を使用した特定の企画のために保守しています。

mbed IDEが日本語をサポートするまでは英語でコメントを書いていきますが、サポートした後もきっと英語で書いていくでしょう。

このライブラリはデバイスの熱ドリフトを補正する機能を持っています。詳しくは Thermal Drift

Revision:
6:a7ad6046824c
Parent:
5:0a0315f0f34e
Child:
7:43b936a53b64
--- a/ITG3200.h	Wed Sep 12 22:56:04 2012 +0000
+++ b/ITG3200.h	Thu Sep 13 14:36:13 2012 +0000
@@ -391,6 +391,10 @@
      *             correction quality.
      */
     void calibrate(double time);
+    
+    long getCalibrationSamples()const{
+        return calibSamples;
+    }
 
 protected:
 
@@ -420,6 +424,8 @@
      * TODO: temperature drift calibration
      */
     int offset[3];
+    
+    long calibSamples;
 
 private: