try this for a change
Dependencies: HIDScope MODSERIAL QEI biquadFilter mbed
Fork of EMG_5 by
Diff: main.cpp
- Revision:
- 7:3396c3e33928
- Parent:
- 6:80c13d99aa55
- Child:
- 8:8a17f65622b4
--- 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!*/