Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: HIDScope MODSERIAL TextLCD mbed-dsp mbed
Fork of EMGmeten by
Revision 7:0e76120eb7ad, committed 2014-10-30
- Comitter:
- lauradeheus
- Date:
- Thu Oct 30 17:51:08 2014 +0000
- Parent:
- 6:740f08fad2c3
- Child:
- 8:4b275b1667d8
- 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;
}
