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.
Fork of SignalNumber2 by
Revision 6:7f6e2d293154, committed 2017-11-02
- Comitter:
- DBerendsen
- Date:
- Thu Nov 02 10:17:26 2017 +0000
- Parent:
- 5:f3ddc3a7b292
- Commit message:
- Eerste keer super mooi werkend;
Changed in this revision
signalnumber.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r f3ddc3a7b292 -r 7f6e2d293154 signalnumber.cpp --- a/signalnumber.cpp Wed Nov 01 22:46:29 2017 +0000 +++ b/signalnumber.cpp Thu Nov 02 10:17:26 2017 +0000 @@ -3,7 +3,7 @@ //Constants for mean value -const int n = 1500; //Window size for the mean value +const int n = 500; //Window size for the mean value float emg0_filtered[n] = {}, emg2_filtered[n] = {}, emg4_filtered[n]={}; int count1 = 0, count2 = 0, count3 = 0; //Counters for the mean values int countx = 0, county = 0.0, countz = 0.0; //Counters for the signalnumbers