Changed some stuff
Fork of EMG by
Diff: main.cpp
- Revision:
- 0:32bb76391d89
- Child:
- 1:db54d9412d18
diff -r 000000000000 -r 32bb76391d89 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu May 23 10:59:03 2013 +0000 @@ -0,0 +1,14 @@ +#include "mbed.h" + +AnalogIn emg0(PTB0); +PwmOut red(LED_RED); + +int main() +{ + while(1) + { + red = emg0; + wait(0.01); + + } +} \ No newline at end of file