for interfacing the sparkfun boards
Dependencies: ADXL345_I2C HMC5883L IMUfilter ITG3200_HelloWorld mbed
ITG3200HL.h
- Committer:
- sandwich
- Date:
- 2014-04-29
- Revision:
- 0:441caaf895d8
File content as of revision 0:441caaf895d8:
#pragma once #include "ITG3200.h" #define GYRO_GAIN 0.00124 //(rad/sec) / LSB class ITG3200HL { private: ITG3200* gyro; int calibrationsamples; int readsamples; float samplerate; double xBias; double yBias; double zBias; double* output; public: void init(int calibsampls, int readsampls, float samplrate); void calibrate(); double* sample(); ~ITG3200HL(); };