peak detection

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

Revision:
1:d1dac3b2692a
Parent:
0:59ce24b43be2
--- a/peak.h	Mon Nov 25 14:26:44 2019 +0000
+++ b/peak.h	Mon Nov 25 23:36:28 2019 +0000
@@ -7,7 +7,7 @@
 
 class PEAK {
 public:
-    void findPeaks(vector<float> num,int count, float threshold);
+    int findPeaks(vector<float> num,int count, float &threshold);
     
     
 };