LED-P23 LED2-P24

Dependencies:   mbed

Revision:
0:a18f226926af
--- /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