Working moving average filter. IIR filters (low pass, high pass) still have to be implemented via biquad.

Dependencies:   HIDScope biquadFilter mbed

Fork of EMG by Tom Tom

Revision:
13:18d4cef1fdb4
Parent:
11:ce72ec658a95
Child:
14:f83354387756
--- a/main.cpp	Thu Sep 11 07:16:24 2014 +0000
+++ b/main.cpp	Tue Sep 23 18:56:14 2014 +0000
@@ -50,7 +50,7 @@
     * The looper() function will be called every 0.01 seconds.
     * Please mind that the parentheses after looper are omitted when using attach.
     */
-    log_timer.attach(looper, 0.01);
+    log_timer.attach(looper, 0.005);
     while(1) //Loop
     {
       /*Empty!*/