Changed some stuff

Fork of EMG by Kevin Hetterscheid

main.cpp

Committer:
vsluiter
Date:
2013-05-23
Revision:
0:32bb76391d89
Child:
1:db54d9412d18

File content as of revision 0:32bb76391d89:

#include "mbed.h"

AnalogIn    emg0(PTB0);
PwmOut      red(LED_RED);

int main()
{
    while(1)
    {
        red = emg0;
        wait(0.01);
        
    }
}