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 biquadFilter mbed
Fork of Milestone_sample by
Diff: main.cpp
- Revision:
- 30:12b2107dc139
- Parent:
- 29:c72e49a3edbb
--- 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