Marijke Zondag / Mbed 2 deprecated Project_script_gedeelte

Dependencies:   HIDScope MODSERIAL biquadFilter mbed

Fork of Milestone_sample by Marijke Zondag

Files at this revision

API Documentation at this revision

Comitter:
MarijkeZondag
Date:
Wed Oct 24 18:51:09 2018 +0000
Parent:
29:c72e49a3edbb
Commit message:
EMG filter AF (nu echt denk ik)

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Wed Oct 24 18:32:51 2018 +0000
+++ b/main.cpp	Wed Oct 24 18:51:09 2018 +0000
@@ -4,11 +4,11 @@
 #include "HIDScope.h"
 #include <math.h>
 
-//ATTENTION:   set mBed to version 151
-//          set QEI to version 0, (gebruiken wij (nog) niet, is voor encoder)
-//          set MODSERIAL to version 44
-//          set HIDScope to version 7
-//          set biquadFilter to version 7
+//ATTENTION:    set mBed to version 151
+//              set QEI to version 0, (gebruiken wij (nog) niet, is voor encoder)
+//              set MODSERIAL to version 44
+//              set HIDScope to version 7
+//              set biquadFilter to version 7
 
 AnalogIn emg0_in            (A0);                   //First raw EMG signal input
 AnalogIn emg1_in            (A1);                   //Second raw EMG signal input
@@ -17,7 +17,7 @@
 
 //MODSERIAL pc(USBTX, USBRX);                       //Serial communication to see if the code works step by step, turn on if hidscope is off
 
-HIDScope    scope( 6 );                             //HIDScope set to 3x2 channels for 3 muscles
+HIDScope    scope( 6 );                             //HIDScope set to 3x2 channels for 3 muscles, raw data + filtered
 
 //Tickers
 Ticker      HIDScope_tick;                          //Ticker for HIDScope