emg_mk

Dependencies:   HIDScope MODSERIAL mbed-dsp mbed

Files at this revision

API Documentation at this revision

Comitter:
Tanja2211
Date:
Wed Oct 22 09:03:03 2014 +0000
Parent:
2:a86b09b00008
Child:
4:231bb8f5bc81
Commit message:
HIDScope

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Tue Oct 21 16:14:14 2014 +0000
+++ b/main.cpp	Wed Oct 22 09:03:03 2014 +0000
@@ -5,7 +5,7 @@
 
 MODSERIAL pc(USBTX,USBRX);
 
-HIDScope scope(2);//is dit 4 voor 2 spieren? en hoe zit het met scope.set?
+HIDScope scope(4);//is dit 4 voor 2 spieren? en hoe zit het met scope.set?
 
 AnalogIn emgB(PTB0);//biceps
 AnalogIn emgT(PTB1); // tricep
@@ -102,7 +102,6 @@
     //naar scherm
     scope.set(0,emg_valueB);        //ruwe data
     scope.set(1,filtered_emgB);     //filtered
-    scope.send();
 }
 
 // *** TRICEP EMG ***