not checked because compiler was down, but this should do everything!!!!

Dependencies:   FastPWM HIDScope MODSERIAL QEI biquadFilter mbed

Fork of EMG4 by Remi van Veen

Files at this revision

API Documentation at this revision

Comitter:
vsluiter
Date:
Wed Sep 10 04:59:25 2014 +0000
Parent:
6:80c13d99aa55
Child:
8:8a17f65622b4
Commit message:
Updated MODSERIAL

Changed in this revision

MODSERIAL.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/MODSERIAL.lib	Thu Oct 03 13:47:49 2013 +0000
+++ b/MODSERIAL.lib	Wed Sep 10 04:59:25 2014 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/Sissors/code/MODSERIAL/#b04ce87dc424
+http://mbed.org/users/Sissors/code/MODSERIAL/#180e968a751e
--- a/main.cpp	Thu Oct 03 13:47:49 2013 +0000
+++ b/main.cpp	Wed Sep 10 04:59:25 2014 +0000
@@ -2,7 +2,7 @@
 #include "MODSERIAL.h"
 
 //Define objects
-AnalogIn    emg0(PTB0); //Analog input
+AnalogIn    emg0(PTB1); //Analog input
 PwmOut      red(LED_RED); //PWM output
 Ticker timer;
 MODSERIAL pc(USBTX,USBRX,64,1024);
@@ -44,7 +44,7 @@
     * The looper() function will be called every 0.001 seconds.
     * Please mind that the parentheses after looper are omitted when using attach.
     */
-    timer.attach(looper, 0.001);
+    timer.attach(looper, 0.005);
     while(1) //Loop
     {
       /*Empty!*/