Changed some stuff
Fork of EMG by
main.cpp
- Committer:
- ArvidKeemink
- Date:
- 2013-05-23
- Revision:
- 1:db54d9412d18
- Parent:
- 0:32bb76391d89
- Child:
- 2:e314bb3b2d99
File content as of revision 1:db54d9412d18:
#include "mbed.h" AnalogIn emg0(PTB0); //Analog input PwmOut red(LED_RED); //PWM output int main() { while(1) //Loop { red = emg0; wait(0.01); //Looptime (approx) } }