LED-P23 LED2-P24

Dependencies:   mbed

Files at this revision

API Documentation at this revision

Comitter:
rajivwagle
Date:
Thu Mar 08 12:20:30 2018 +0000
Commit message:
LEDS-P23,P24

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 a18f226926af main.cpp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Mar 08 12:20:30 2018 +0000
@@ -0,0 +1,22 @@
+#include "mbed.h"
+
+DigitalOut myled1(p23);
+DigitalOut myled2(p24);
+ 
+int main() {
+    
+    while(1) {
+        
+        myled1 = 1;
+        wait(0.1);
+        myled1 = 0;
+        wait(0.1);
+        
+        myled2 = 1;
+        wait(0.1);
+        myled2 = 0;
+        wait(0.1);
+        
+         
+    }
+}
\ No newline at end of file
diff -r 000000000000 -r a18f226926af mbed.bld
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed.bld	Thu Mar 08 12:20:30 2018 +0000
@@ -0,0 +1,1 @@
+http://mbed.org/users/mbed_official/code/mbed/builds/7130f322cb7e
\ No newline at end of file