Changed some stuff
Fork of EMG by
Diff: main.cpp
- Revision:
- 7:3396c3e33928
- Parent:
- 6:80c13d99aa55
- Child:
- 8:8a17f65622b4
diff -r 80c13d99aa55 -r 3396c3e33928 main.cpp --- 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!*/