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:
- 1:5a64632b1eb9
- Parent:
- 0:0c4fafa398b4
- Child:
- 2:93f703d2c4d7
diff -r 0c4fafa398b4 -r 5a64632b1eb9 Sensors/Gyro/L3G4200D.h --- a/Sensors/Gyro/L3G4200D.h Wed Sep 26 12:15:00 2012 +0000 +++ b/Sensors/Gyro/L3G4200D.h Fri Sep 28 13:24:03 2012 +0000 @@ -39,10 +39,10 @@ typedef char byte; -class Gyro +class L3G4200D { public: - Gyro(PinName sda, PinName scl); // constructor, uses i2c + L3G4200D(PinName sda, PinName scl); // constructor, uses i2c void read(int g[3]); // read all axis to array int readTemp(); // read temperature from sensor