3.1.3

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
olemh88
Date:
Tue Sep 12 11:01:36 2017 +0000
Commit message:
313

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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Sep 12 11:01:36 2017 +0000
@@ -0,0 +1,20 @@
+#include "mbed.h"
+Serial pc(USBTX, USBRX);
+BusOut teller(p21, p22, p23, p24, p25, p26);
+
+int main()
+{
+    while(1) {
+        for(int x = 0; x <= 63; x++) {
+            teller = x;
+            wait(0.1);
+            if (x == 63) {
+                for(int x = 63; x > 0; x--) {
+                    teller = x;
+                    wait(0.1);
+                }
+
+            }
+        }
+    }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Sep 12 11:01:36 2017 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/a330f0fddbec
\ No newline at end of file