Team S - EDP 2 / Mbed 2 deprecated modular_signal_processing

Dependencies:   mbed

Fork of modular_signal_processing by Conor Begley

Revision:
1:4351b05b1685
Parent:
0:3ff1d169670e
Child:
2:319575416324
--- a/main.cpp	Thu Feb 15 20:27:50 2018 +0000
+++ b/main.cpp	Thu Feb 15 20:41:25 2018 +0000
@@ -11,6 +11,8 @@
 int const BUFF_LEN = 20;   //Length of sample buffer
 int const ALPHA = 0.5;     //Aplha value used for filtering
 int const OFFSET = 0.2;  //Used to ensure normalised values don't be come negative
+float const trigger_high = 0.8
+float const trigger_low = 0.6
 
 //Buffers
 float sample_buffer[BUFF_LEN] = {};  //Circular array storing values from sample interupt