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:
18:c8c09a3913ba
Parent:
17:e096e85f6c36
Child:
19:40c252b4a792
--- a/Sensors/Acc/ADXL345.h	Wed Oct 31 16:53:01 2012 +0000
+++ b/Sensors/Acc/ADXL345.h	Sat Nov 03 07:44:07 2012 +0000
@@ -72,8 +72,7 @@
 {
     public:
         ADXL345(PinName sda, PinName scl);  // constructor, uses I2C_Sensor
-        void read();                        // reads all axis to array
-        int data[3];                        // where the measured data is saved
+        virtual void read();                // read all axis from register to array data
         float angle[3];                     // where the calculated angles are stored
        
     private: