![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Bandpass, notch, abs en laagdoorlaat 3Hz
Dependencies: HIDScope MODSERIAL mbed-dsp mbed TextLCD
Revision 7:0e76120eb7ad, committed 2014-10-30
- 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 |
diff -r 740f08fad2c3 -r 0e76120eb7ad EMGmeten.cpp --- 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; }