4 directional EMG control of the XY table. Made during my bachelor end assignment.

Dependencies:   C12832_lcd HIDScope mbed-dsp mbed

main.cpp

Committer:
jessekaiser
Date:
2015-04-24
Revision:
5:24929fa367fc
Parent:
4:e4341e3524dc
Child:
6:9296ea7e9952
Child:
7:b6d7dce49505

File content as of revision 5:24929fa367fc:

#include "mbed.h"

DigitalOut Dir(p21);
PwmOut Step(p22);
DigitalOut MS1(p27);
DigitalOut MS2(p28);
DigitalOut MS3(p29);



int main()
{

    MS1 = 1;
    MS2 = 0;
    MS3 = 0;

Step.period(1.0/1000);
Step.write(0.5);
    while (1) {
        
    }

}