step

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
franni
Date:
Sat Oct 28 00:00:54 2017 +0000
Commit message:
step

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r 000000000000 -r 02946e0382f5 main.cpp
--- /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
diff -r 000000000000 -r 02946e0382f5 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Sat Oct 28 00:00:54 2017 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/fb8e0ae1cceb
\ No newline at end of file