Jorn Dokter / Mbed 2 deprecated TEB_branch2

Dependencies:   mbed QEI HIDScope biquadFilter MODSERIAL FastPWM

Revision:
34:b035131eda3e
Parent:
28:4a5671b3d88d
Child:
37:6602655a80f4
--- a/main.cpp	Wed Oct 09 14:19:23 2019 +0000
+++ b/main.cpp	Thu Oct 10 10:56:23 2019 +0000
@@ -32,7 +32,7 @@
     enum States {MovementIdle, CalibrationIdle, Demo, Startup, CalibrationPhysical, CalibrationEMG, Move, TiltCup, FailState};
     States CurrentState; 
 
-    extern double X;
+    double X;
 
     volatile char ledcolor; //r is red, b is blue, g is green, t is bluegreen, p is purple
     volatile int errorCode;
@@ -45,19 +45,6 @@
     Ticker Main_Ticker;
     Ticker Tick_Blinky;//used for the blinking of the leds
     
-    //struct motorReturnSub
-//{
-//    int counts;
-//    float angle;
-//    float velocity;
-//};
-
-//struct motorReturn
-//{
-//    motorReturnSub motor1;
-//    motorReturnSub motor2;
-//    motorReturnSub motor3;
-//} motorReturn;
 
 //Changing LED colour depending on current state
 void FlipLED(void)