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

Dependencies:   C12832_lcd HIDScope mbed-dsp mbed

Revision:
5:24929fa367fc
Parent:
4:e4341e3524dc
Child:
6:9296ea7e9952
Child:
7:b6d7dce49505
--- a/main.cpp	Fri Apr 24 08:53:13 2015 +0000
+++ b/main.cpp	Fri Apr 24 08:57:30 2015 +0000
@@ -15,12 +15,10 @@
     MS2 = 0;
     MS3 = 0;
 
+Step.period(1.0/1000);
+Step.write(0.5);
     while (1) {
-        Dir = 1;
-        Step = 1;
-        wait(0.00001);
-        Step = 0;
-        wait(0.00001);
+        
     }
 
 }
\ No newline at end of file