step

Dependencies:   mbed

Revision:
0:02946e0382f5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sat Oct 28 00:00:54 2017 +0000
@@ -0,0 +1,20 @@
+#include "mbed.h"
+
+BusOut step_secuence(PTA12,
+                     PTD4,
+                     PTA1,
+                     PTA2);
+
+int main()
+{
+    while(1) {
+        step_secuence=0x0A;
+        wait(0.5);
+        step_secuence=0x09;
+        wait(0.5);
+        step_secuence=0x05;
+        wait(0.5);
+        step_secuence=0x06;
+        wait(0.5);
+    }
+}
\ No newline at end of file