peak detection

Dependents:   mbed-test-i2c-PCA-biquad-peakdet Mix-code-v2 mbed-os-step-counting the-lastest-code

Files at this revision

API Documentation at this revision

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
--- 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)
     {