NOT FINISHED YET!!! My first try to get a self built fully working Quadrocopter based on an mbed, a self built frame and some other more or less cheap parts.
Diff: Sensors/Gyro/L3G4200D.h
- Revision:
- 18:c8c09a3913ba
- Parent:
- 17:e096e85f6c36
- Child:
- 20:e116e596e540
--- a/Sensors/Gyro/L3G4200D.h Wed Oct 31 16:53:01 2012 +0000 +++ b/Sensors/Gyro/L3G4200D.h Sat Nov 03 07:44:07 2012 +0000 @@ -44,8 +44,7 @@ { public: L3G4200D(PinName sda, PinName scl); // constructor, uses I2C_Sensor class - void read(); // read all axis to array - float data[3]; // where the measured data is saved + virtual void read(); // read all axis from register to array data int readTemp(); // read temperature from sensor private: