Anmol sardhalia / Mbed 2 deprecated VAT_LAB2_MULTILED

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
anmolhardik
Date:
Thu Feb 09 10:45:27 2017 +0000
Commit message:
aa

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
diff -r 000000000000 -r 75380c9086e4 main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Feb 09 10:45:27 2017 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+
+BusOut myled(PTB18,PTB19,PTD1);
+
+int main() {
+    while(1) {
+        myled = 0x6;
+        wait(1.0);
+        myled = 0x5;
+        wait(1.0);
+        myled = 0x3;
+        wait(1.0);
+    }
+}
diff -r 000000000000 -r 75380c9086e4 mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Feb 09 10:45:27 2017 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/176b8275d35d
\ No newline at end of file