Projectgroep 12. Code die gebruikt wordt voor het filteren van een EMG signaal

Dependencies:   Biquad HIDScope biquadFilter mbed BiQuad4th_order

Files at this revision

API Documentation at this revision

Comitter:
Mirjam
Date:
Mon Oct 29 13:49:25 2018 +0000
Parent:
9:de37ca5b1b06
Commit message:
Filtering the EMG

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r de37ca5b1b06 -r 7bcb119f4f40 main.cpp
--- a/main.cpp	Mon Oct 29 13:12:31 2018 +0000
+++ b/main.cpp	Mon Oct 29 13:49:25 2018 +0000
@@ -56,7 +56,7 @@
             ledr = 0;           // Red LED on 
             ledg = 1;           // Green LED off
             }
-          /*  
+
         if(emg2_filtered >= threshold*EMG_calibrated_max_2){
             need_to_move_2 = 1;
             ledr = 0;
@@ -67,6 +67,5 @@
             ledr = 1;
             ledg = 0;
             }
-            */
         }
 }
\ No newline at end of file