PID control with a lowpass filter to make the motor follow pot1

Dependencies:   HIDScope QEI mbed

Fork of PID_control_with_lowpass by Jasper Gerth

Revision:
5:43e34b6d66af
Parent:
4:4d4d7343406d
Parent:
3:9ae6a4a525cf
Child:
6:60227fd3b30f
--- a/main.cpp	Mon Sep 28 09:23:16 2015 +0000
+++ b/main.cpp	Mon Sep 28 09:27:22 2015 +0000
@@ -154,5 +154,6 @@
         }
 
     }
-    return 0;
+    return 0; //gives warning: unreachable
+
 }
\ No newline at end of file