Script voor het filteren van het EMG signaal.
Dependencies: biquadFilter mbed
Revision 1:e108d72cab92, committed 2017-10-20
- Comitter:
- Gerber
- Date:
- Fri Oct 20 14:35:49 2017 +0000
- Parent:
- 0:0244fd0a12f0
- Commit message:
- Oeps, zat nog 1 klein foutje in (regel 31).
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Oct 20 14:33:54 2017 +0000 +++ b/main.cpp Fri Oct 20 14:35:49 2017 +0000 @@ -28,7 +28,7 @@ double emgFiltered = emgLP/emgMax; // Scale to maximum signal: useful for motor if (emgFiltered >.1) { - emgFiltered==0; + emgFiltered==1; } }