Code for emg filtering and thus controlling the robotic movement.

Dependencies:   HIDScope biquadFilter mbed

Fork of EMG by Tom Tom

Revision:
16:9f7797ffd0fb
Parent:
15:0da764eea774
Child:
18:3175fbe48b40
--- a/main.cpp	Mon Sep 21 13:52:35 2015 +0000
+++ b/main.cpp	Mon Sep 21 17:49:26 2015 +0000
@@ -1,5 +1,4 @@
 #include "mbed.h"
-#include "MODSERIAL.h"
 #include "HIDScope.h"
 
 //Define objects
@@ -16,7 +15,7 @@
     double emg_value = emg.read();
     /* Second, set the sampled emg value in channel zero (the first channel) in the 'HIDScope' variable named 'scope' */
     scope.set(0,emg_value);
-    /* Repeat the step above if required for more channels (channel 0 up to 5 = 6 channels)
+    /* Repeat the step above if required for more channels (channel 0 up to 5 = 6 channels) */
     /* Finally, send all channels to the PC at once */
     scope.send();
 }