gfgf

Dependencies:   SevenSegLed mbed

Files at this revision

API Documentation at this revision

Comitter:
HisyamSulaiman
Date:
Thu May 17 06:59:34 2018 +0000
Commit message:
gfhg

Changed in this revision

SevenSegLed.lib Show annotated file Show diff for this revision Revisions of this file
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 b957706fdaee SevenSegLed.lib
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SevenSegLed.lib	Thu May 17 06:59:34 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/suupen/code/SevenSegLed/#a1eb5de4146f
diff -r 000000000000 -r b957706fdaee main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu May 17 06:59:34 2018 +0000
@@ -0,0 +1,23 @@
+#include "mbed.h"
+
+BusOut segment(D7,D8,D9,D10,D11,D12,D13);
+
+int main() {
+    while(1) {
+     segment = 1;
+     wait (0.2);
+     segment =  3;
+     wait (0.2);
+    segment = 7;
+     wait (0.2);
+     segment = 15;
+     wait (0.2);
+     segment = 31;
+     wait (0.2);
+     segment =  63;
+     wait (0.2);
+     segment = 127;
+     wait (0.2);
+    
+    }
+}
diff -r 000000000000 -r b957706fdaee mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu May 17 06:59:34 2018 +0000
@@ -0,0 +1,1 @@
+https://os.mbed.com/users/mbed_official/code/mbed/builds/5571c4ff569f
\ No newline at end of file