gfgf

Dependencies:   SevenSegLed mbed

Revision:
0:b957706fdaee
--- /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);
+    
+    }
+}