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

Dependencies:   C12832_lcd HIDScope mbed-dsp mbed

Revision:
1:c5da4c1c29f4
Parent:
0:3acdd563582f
Child:
2:92a63245d11c
diff -r 3acdd563582f -r c5da4c1c29f4 main.cpp
--- a/main.cpp	Thu Apr 23 15:36:11 2015 +0000
+++ b/main.cpp	Thu Apr 23 15:39:41 2015 +0000
@@ -11,12 +11,14 @@
 int main()
 {
 
-    Step.period(1.0/10000);
-    Step.write(0.5);
     
 
     while (1) {
-
+        Dir = 1;
+        Step = 1;
+        wait_us(100);
+        Step = 0;
+        wait_us(100);
     }
 
 }
\ No newline at end of file