Prosper Van / Mbed 2 deprecated quadCommand2

Dependencies:   mbed DCM_AHRS_GY80 PID MMA8451Q

Fork of quadCommand by Greg Abdo

Revision:
43:e2fc699e8e8c
Parent:
35:2367d7923302
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/quadCommand/sensors/sensors.h	Mon Jun 10 01:46:43 2013 +0000
@@ -0,0 +1,21 @@
+/************************* quadCommand.h *********************************/
+/*                                                                       */
+/*************************************************************************/
+#include "quadCommand.h"
+#include "MMA8451Q.h"
+
+#ifndef SENSORS_H
+#define SENSORS_H
+
+class sensors
+{
+    public:
+        sensors();
+        void sendData();
+        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;          // Pointer to the acceleromi
+};
+#endif
\ No newline at end of file