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

History

Added support for calibration curve on chip temperature. default tip

2012-10-02, by gltest26 [Tue, 02 Oct 2012 18:04:13 +0000] rev 9

Added support for calibration curve on chip temperature.


Added a new constructor to accept an external I2C interface object.

2012-10-02, by gltest26 [Tue, 02 Oct 2012 17:09:20 +0000] rev 8

Added a new constructor to accept an external I2C interface object.


Added a new constructor to accept an external I2C interface object.; Added options to return values not zero adjusted.;

2012-09-29, by gltest26 [Sat, 29 Sep 2012 14:34:17 +0000] rev 7

Added a new constructor to accept an external I2C interface object.; Added options to return values not zero adjusted.;


Made ITG3200::calibrate precisely measures time for calibration. Also added calibSamples variable that indicate number of samples for the last calibration.

2012-09-13, by gltest26 [Thu, 13 Sep 2012 14:36:13 +0000] rev 6

Made ITG3200::calibrate precisely measures time for calibration. Also added calibSamples variable that indicate number of samples for the last calibration.


Made byte ordering and sign extending portable.

2012-09-12, by gltest26 [Wed, 12 Sep 2012 22:56:04 +0000] rev 5

Made byte ordering and sign extending portable.


Collected common codes into a function getWord() to reduce duplicate codes.

2012-09-12, by gltest26 [Wed, 12 Sep 2012 15:23:29 +0000] rev 4

Collected common codes into a function getWord() to reduce duplicate codes.


Added drift offset calibration capability.

2012-09-12, by gltest26 [Wed, 12 Sep 2012 14:37:34 +0000] rev 3

Added drift offset calibration capability.


Made the code portable for other compilers, at least places which I have modified.

2012-09-12, by gltest26 [Wed, 12 Sep 2012 11:36:48 +0000] rev 2

Made the code portable for other compilers, at least places which I have modified.


Added getRawTemperature(), getGyroXYZ(), getGyroXYZDegrees() and getGyroXYZRadians(). Also adapted the I2C address to 9DoF-Stick's ITG3200. For some reason, diff is indicating the whole file is altered.

2012-09-11, by gltest26 [Tue, 11 Sep 2012 16:56:23 +0000] rev 1

Added getRawTemperature(), getGyroXYZ(), getGyroXYZDegrees() and getGyroXYZRadians(). Also adapted the I2C address to 9DoF-Stick's ITG3200. For some reason, diff is indicating the whole file is altered.


Changed output to raw ADC counts as opposed to a value in degrees/sec.

2010-09-06, by aberk [Mon, 06 Sep 2010 13:49:59 +0000] rev 0

Changed output to raw ADC counts as opposed to a value in degrees/sec.