Prosper Van / Mbed 2 deprecated quadCommand2

Dependencies:   mbed DCM_AHRS_GY80 PID MMA8451Q

Fork of quadCommand by Greg Abdo

Committer:
gabdo
Date:
Mon Jun 10 00:40:45 2013 +0000
Revision:
35:2367d7923302
Parent:
24:87d325eab299
Sensor work
;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
gabdo 0:8681037b9a18 1 /************************* quadCommand.h *********************************/
gabdo 0:8681037b9a18 2 /* */
gabdo 0:8681037b9a18 3 /*************************************************************************/
gabdo 22:2aa22b4f49d6 4 #include "quadCommand.h"
gabdo 0:8681037b9a18 5 #include "MMA8451Q.h"
gabdo 0:8681037b9a18 6
gabdo 0:8681037b9a18 7 #ifndef SENSORS_H
gabdo 0:8681037b9a18 8 #define SENSORS_H
gabdo 0:8681037b9a18 9
gabdo 0:8681037b9a18 10 class sensors
gabdo 0:8681037b9a18 11 {
gabdo 0:8681037b9a18 12 public:
gabdo 0:8681037b9a18 13 sensors();
gabdo 11:a80e854955dc 14 void sendData();
gabdo 9:9e0d0ba5b6b1 15 float getAbsoluteX(); // Get the value off level in the X directoin.
gabdo 9:9e0d0ba5b6b1 16 float getAbsoluteY(); // Get the value off level in the Y directoin.
gabdo 0:8681037b9a18 17
gabdo 0:8681037b9a18 18 private:
gabdo 9:9e0d0ba5b6b1 19 MMA8451Q *acc; // Pointer to the acceleromi
gabdo 0:8681037b9a18 20 };
gabdo 0:8681037b9a18 21 #endif