IBS / Mbed 2 deprecated LAB1_BreathingLed

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
akashlal
Date:
Tue Jun 28 08:16:24 2016 +0000
Commit message:
Blinking LED

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 2ce49f03f6ea main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Tue Jun 28 08:16:24 2016 +0000
@@ -0,0 +1,14 @@
+#include "mbed.h"
+
+DigitalOut led (PTB18);
+
+ int main()
+{
+    while(1)
+    {
+        led=0;
+        wait(0.5);
+        led=1;
+        wait(0.5);
+    }
+}
\ No newline at end of file
diff -r 000000000000 -r 2ce49f03f6ea mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Tue Jun 28 08:16:24 2016 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/6c34061e7c34
\ No newline at end of file