Bandpass, notch, abs en laagdoorlaat 3H
Dependencies: HIDScope MODSERIAL TextLCD mbed-dsp mbed
Fork of EMGmeten by
Diff: EMGmeten.cpp
- Revision:
- 7:0e76120eb7ad
- Parent:
- 6:740f08fad2c3
- Child:
- 8:4b275b1667d8
--- 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; }