teamALI / Mbed 2 deprecated HB2018

Dependencies:   mbed FreeRTOS

Revision:
17:f9610f3cfa1b
Parent:
16:05b9e44889f1
--- a/Gyro.h	Wed Nov 28 01:31:46 2018 +0000
+++ b/Gyro.h	Fri Nov 30 05:24:27 2018 +0000
@@ -9,35 +9,23 @@
 #include "mbed.h"
 #include "typedef.h"
 
-class Gyro {
-    /*
-     * Varialbles
-     */
-     
-#define BAUD_RATE4_6AXIS   115200
-    private:
-
-    Serial sp46Axis;
-    float   accZ;
+class Gyro {     
+private:
+    Serial sp46Axis;    //
     INT16   gyroZ;
     float   yaw;
     float   yaw_ref;
-    /*
-     * functions
-     */
-    std::vector<std::string> split(const std::string &str, char sep);
+    //
     void PushBuf(UCHAR rxChar);
     void uartRxIntHndler46Axis();
 public:
     Gyro(PinName pinTx, PinName pinRx);
-    virtual ~Gyro();
-    short     GetAngularRate();
-    float   GetAccel();
-    float   GetAngle();
-    void    SetYawRef();
-    
+    virtual     ~Gyro();
+    short       GetAngularRate();
+    float       GetAngle();
+    void        SetYawRef();
 };
 
-#endif /* GYRO_H */
+#endif