peak detection
Dependents: mbed-test-i2c-PCA-biquad-peakdet Mix-code-v2 mbed-os-step-counting the-lastest-code
Revision 2:6500ec04a6a1, committed 2019-11-25
- Comitter:
- castlefei
- Date:
- Mon Nov 25 23:44:10 2019 +0000
- Parent:
- 1:d1dac3b2692a
- Commit message:
- remove printf
Changed in this revision
peak.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r d1dac3b2692a -r 6500ec04a6a1 peak.cpp --- a/peak.cpp Mon Nov 25 23:36:28 2019 +0000 +++ b/peak.cpp Mon Nov 25 23:44:10 2019 +0000 @@ -81,8 +81,8 @@ threshold = *min_element(valMax.begin(),valMax.end())* 0.3; - printf("height in peak: %f\n\r", height); - printf("threshold: %f\n\r", threshold); + //printf("height in peak: %f\n\r", height); + //printf("threshold: %f\n\r", threshold); if(height > 0.1001) {