Modified getOffset for calibrating Thermal Drift coefficients.

Dependents:   9Dof_unit_testing

Fork of ITG3200 by James Watanabe

Modified to make getOffset() function easier to use.

Changes

RevisionDateWhoCommit message
15:e61fe4b74daa 2012-11-08 tylerjw with calibration curve default tip
14:e4bf80188ba7 2012-11-07 tylerjw Set calibrate function to run at 50Hz
13:e886466d7d67 2012-11-06 tylerjw int changed to int16_t
12:d624e9c6dae7 2012-11-06 tylerjw getGyro commands replaced with get
11:9a354f34d8e3 2012-10-31 tylerjw updated header comments
10:33a9ed8e8988 2012-10-30 tylerjw Made the getOffset more useful
9:05396b551a9a 2012-10-02 gltest26 Added support for calibration curve on chip temperature.
8:ac0365ab3cef 2012-10-02 gltest26 Added a new constructor to accept an external I2C interface object.
7:43b936a53b64 2012-09-29 gltest26 Added a new constructor to accept an external I2C interface object.; Added options to return values not zero adjusted.;
6:a7ad6046824c 2012-09-13 gltest26 Made ITG3200::calibrate precisely measures time for calibration. Also added calibSamples variable that indicate number of samples for the last calibration.
5:0a0315f0f34e 2012-09-12 gltest26 Made byte ordering and sign extending portable.
4:155c44407af5 2012-09-12 gltest26 Collected common codes into a function getWord() to reduce duplicate codes.
3:eea9733ca427 2012-09-12 gltest26 Added drift offset calibration capability.
2:f44a902ba081 2012-09-12 gltest26 Made the code portable for other compilers, at least places which I have modified.
1:9bef044f45ad 2012-09-11 gltest26 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.
0:b098d99dd81e 2010-09-06 aberk Changed output to raw ADC counts as opposed to a value in degrees/sec.