Bandpass, notch, abs en laagdoorlaat 3Hz

Dependencies:   HIDScope MODSERIAL mbed-dsp mbed TextLCD

Files at this revision

API Documentation at this revision

Comitter:
lauradeheus
Date:
Thu Oct 30 17:51:08 2014 +0000
Parent:
6:740f08fad2c3
Commit message:
EMGmeten en state aangeven

Changed in this revision

EMGmeten.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/EMGmeten.cpp	Thu Oct 30 17:49:08 2014 +0000
+++ b/EMGmeten.cpp	Thu Oct 30 17:51:08 2014 +0000
@@ -66,20 +66,20 @@
 
 void EMG_max_meting()
 {
-    int i=0; // tijdspad
-    lcd.cls();
-    lcd.printf("Maximale\nEMGmeting");
-    for(i=0; i<300; i++)
-    {
-        wait(0.1);
+    //int i=0; // tijdspad
+    //lcd.cls();
+    //lcd.printf("Maximale\nEMGmeting");
+    //for(i=0; i<300; i++)
+    //{
+    //    wait(0.1);
         if (filtered_emg>=EMG_max)
         {
             EMG_max=filtered_emg;
         }
-    }
-    lcd.cls();
-    lcd.printf("Maximale EMG\nbepaald");
-    wait(3);
+    //}
+    //lcd.cls();
+    //lcd.printf("Maximale EMG\nbepaald");
+    //wait(3);
     EMG_treshhold_laag = 0.3*EMG_max;
     EMG_treshhold_hoog = 0.7*EMG_max;
 }