teamALI / Mbed 2 deprecated HB2018

Dependencies:   mbed FreeRTOS

Revision:
16:05b9e44889f1
Parent:
14:76a56d517103
Child:
17:f9610f3cfa1b
--- a/Gyro.h	Tue Nov 27 05:23:44 2018 +0000
+++ b/Gyro.h	Wed Nov 28 01:31:46 2018 +0000
@@ -13,12 +13,13 @@
     /*
      * Varialbles
      */
+     
 #define BAUD_RATE4_6AXIS   115200
     private:
 
     Serial sp46Axis;
     float   accZ;
-    float   gyroZ;
+    INT16   gyroZ;
     float   yaw;
     float   yaw_ref;
     /*
@@ -30,7 +31,7 @@
 public:
     Gyro(PinName pinTx, PinName pinRx);
     virtual ~Gyro();
-    float   GetAngularRate();
+    short     GetAngularRate();
     float   GetAccel();
     float   GetAngle();
     void    SetYawRef();