poornima surendar / Mbed 2 deprecated mbed_4blinker

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
poornimasurendar
Date:
Fri Apr 04 05:28:18 2014 +0000
Commit message:
blink 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
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Fri Apr 04 05:28:18 2014 +0000
@@ -0,0 +1,26 @@
+#include "mbed.h"
+
+DigitalOut myled(LED1);
+DigitalOut myled(LED2;
+dIGITALoUT mYLED(LED3);
+DigitalOut myled(LED4);
+
+int main() {
+    while(1) {
+        myled1 = 1;
+        wait(0.2);
+        
+        myled2 = 1;
+        wait(0.2);
+    
+        myled3 = 1;
+        wait(0.2);
+        
+        myled4 = 1;
+        wait(0.2);
+        
+    }
+}
+
+
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Fri Apr 04 05:28:18 2014 +0000
@@ -0,0 +1,1 @@
+http://world3.dev.mbed.org/users/mbed_official/code/mbed/builds/824293ae5e43
\ No newline at end of file