Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed QEI HIDScope biquadFilter MODSERIAL FastPWM
Diff: functions.h
- Branch:
- Branch2
- Revision:
- 61:4c7de1e2f9fe
- Parent:
- 56:58cbb056e4be
- Child:
- 64:5a6bf0cd1c50
diff -r 37de97290fa6 -r 4c7de1e2f9fe functions.h --- 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