megha nalatawad / Mbed 2 deprecated megha

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
meghanalatawad
Date:
Thu Dec 01 10:30:56 2016 +0000
Commit message:
mmmm;

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
megha.h 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	Thu Dec 01 10:30:56 2016 +0000
@@ -0,0 +1,29 @@
+#include "mbed.h"
+
+BusOut seg1(p5,p6,p7,p8,p9,p10,p11,p12);
+int main ()
+{
+   while(1)
+ { 
+    seg1=0x3f;
+    wait(0.2);
+    seg1=0x06;
+    wait(0.2);
+    seg1=0x5b;
+    wait(0.2);
+    seg1=0x4f;
+    wait(0.2);
+    seg1=0x66;
+    wait(0.2);
+    seg1=0x6d;
+    wait(0.2);
+    seg1=0x7d;
+    wait(0.2);
+    seg1=0x07;
+    wait(0.2);
+    seg1=0x7f;
+    wait(0.2);
+    seg1=0x6f;
+    wait(0.2);
+    }
+    }
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Dec 01 10:30:56 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/d75b3fe1f5cb
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/megha.h	Thu Dec 01 10:30:56 2016 +0000
@@ -0,0 +1,29 @@
+#include "mbed.h"
+
+BusOut seg1(p5,p6,p7,p8,p9,p10,p11,p12);
+int main ()
+{
+   while(1)
+ { 
+    seg1=0x3f;
+    wait(0.2);
+    seg1=0x06;
+    wait(0.2);
+    seg1=0x5b;
+    wait(0.2);
+    seg1=0x4f;
+    wait(0.2);
+    seg1=0x66;
+    wait(0.2);
+    seg1=0x6d;
+    wait(0.2);
+    seg1=0x7d;
+    wait(0.2);
+    seg1=0x07;
+    wait(0.2);
+    seg1=0x7f;
+    wait(0.2);
+    seg1=0x6f;
+    wait(0.2);
+    }
+    }
\ No newline at end of file