added gy80 dcm

Dependencies:   mbed DCM_AHRS_GY80 PID MMA8451Q

Fork of quadCommand by Greg Abdo

Revision:
45:088885f4a13d
Parent:
38:9f33129afce2
Child:
55:bca9c9e92da6
--- a/quadCommand/motor/motor.h	Mon Jun 10 01:52:57 2013 +0000
+++ b/quadCommand/motor/motor.h	Mon Jun 10 02:12:02 2013 +0000
@@ -25,15 +25,15 @@
 {   
     public:
         motor( PinName );           // motor object constructor.
-        void setSpeed( int );       // Set the speed for the motor 0-100
+        void setSpeed( float );       // Set the speed for the motor 0-100
         void setPulseMin( float );  // Set smallest pulse.
         void setPulseMax( float );  // Set largest pulse.
-        int getSpeed();
+        float getSpeed();
         float getPulse( void );
     
     private:   
         PwmOut _pwm;                // Pin used for PWM.
-        int currentSpeed;           // Speed of the motor.
+        float currentSpeed;           // Speed of the motor.
         float pulse;                // Current pulse of the motor.
         float pulseMin;             // Shortest value for the pulse
         float pulseMax;             // Largest value for the pulse..