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.

Dependencies:   mbed MODI2C

Revision:
10:953afcbcebfc
Parent:
2:93f703d2c4d7
Child:
16:74a6531350b5
--- a/Sensors/Gyro/L3G4200D.h	Tue Oct 16 10:21:32 2012 +0000
+++ b/Sensors/Gyro/L3G4200D.h	Wed Oct 17 08:37:08 2012 +0000
@@ -43,8 +43,9 @@
 {
     public:            
         L3G4200D(PinName sda, PinName scl); // constructor, uses i2c
-        void read(float g[3]); // read all axis to array
+        void read(); // read all axis to array
         int readTemp(); // read temperature from sensor
+        float data[3]; // where the measured data is saved
         
     private:
         float offset[3]; // offset that's subtracted from every measurement