tra

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
anbukumaran
Date:
Thu Aug 27 09:59:07 2015 +0000
Commit message:
traffic

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	Thu Aug 27 09:59:07 2015 +0000
@@ -0,0 +1,24 @@
+#include "mbed.h"
+
+DigitalOut A(LED1);
+DigitalOut B(LED2);
+DigitalOut C(LED3);
+DigitalOut D(LED4);
+int main()
+{
+    while(1)
+    {
+    
+    A=0;B=1;C=1;D=1;
+    wait(1.0);
+    A=1;B=0;C=1;D=1;
+    wait(1.0);
+    A=1;B=1;C=0;D=1;
+    wait(1.0);
+    A=1;B=1;C=1;D=0;
+    wait(1.0);
+    }
+    }
+
+
+    
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Aug 27 09:59:07 2015 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/8ed44a420e5c
\ No newline at end of file