Prosper Van / Mbed 2 deprecated quadCommand2

Dependencies:   mbed DCM_AHRS_GY80 PID MMA8451Q

Fork of quadCommand by Greg Abdo

Revision:
9:9e0d0ba5b6b1
Parent:
4:ce6ad16337c5
Child:
11:a80e854955dc
--- a/quadCommand/sensorS/sensors.h	Sun Jun 09 23:36:31 2013 +0000
+++ b/quadCommand/sensorS/sensors.h	Sun Jun 09 23:56:44 2013 +0000
@@ -7,18 +7,14 @@
 #ifndef SENSORS_H
 #define SENSORS_H
 
-#define MMA8451_I2C_ADDRESS (0x1d<<1)
-const PinName ACCSDA    =   PTE25; 
-const PinName ACCSCL    =   PTE24;
-
 class sensors
 {
     public:
         sensors();
-        float getAbsoluteX();
-        float getAbsoluteY();
+        float getAbsoluteX();   // Get the value off level in the X directoin.
+        float getAbsoluteY();   // Get the value off level in the Y directoin.
     
     private:
-        MMA8451Q *acc;
+        MMA8451Q *acc;          // Pointer to the acceleromi
 };
 #endif
\ No newline at end of file