Dependencies:   mbed

Dependents:   fluy343

/media/uploads/maetugr/dsc09031.jpg

Revision:
4:b0a60b0b24a9
Parent:
0:12950aa67f2a
--- a/IMU/Sensors/Acc/ADXL345.h	Tue Sep 24 15:15:39 2013 +0000
+++ b/IMU/Sensors/Acc/ADXL345.h	Sat Feb 15 14:28:11 2014 +0000
@@ -53,13 +53,13 @@
 {
     public:
         ADXL345(PinName sda, PinName scl);                  // constructor, uses I2C_Sensor class
-        virtual void read();                                // read all axis to array
+        void read();                                // read all axis to array
         
         float offset[3];                                    // offset that's subtracted from every measurement
         void calibrate(int times, float separation_time);   // calibration from 'times' measurements with 'separation_time' time between (get an offset while not moving)
        
     private:
-        virtual void readraw();
+        void readraw();
 };
 
 #endif