Jorn Dokter / Mbed 2 deprecated TEB_branch2

Dependencies:   mbed QEI HIDScope biquadFilter MODSERIAL FastPWM

Branch:
Branch2
Revision:
61:4c7de1e2f9fe
Parent:
56:58cbb056e4be
Child:
64:5a6bf0cd1c50
--- a/functions.h	Tue Oct 15 13:13:28 2019 +0000
+++ b/functions.h	Wed Oct 16 09:24:22 2019 +0000
@@ -1,8 +1,15 @@
 #ifndef header_h
 #define header_h
+
+#include "structures.h"
+
     //Functions
-    //double ControllerPID(double e, double Ts); //e = error, Ts = sampling time
-    //void motorAndEncoder(float PWM1, float PWM2, float dt);
-    //void InitializeControllers(void); //no input
+    //--Controller functions; form "controller.cpp"; Complete
+    void InitializeControllers(void);
+    float Biquad(ControllerSettings& StrucName, MemoryIO& MemName, float X);
+    
+    //--EMG Processing; from "emgprocessing.cpp";
+    float ProcessEMG(float X);
+
     
 #endif
\ No newline at end of file