programa de prueba

Dependencies:   mbed

Revision:
0:d2448f1fb20b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Thu Apr 21 16:07:06 2016 +0000
@@ -0,0 +1,22 @@
+#include "mbed.h"
+
+DigitalOut  LED_1(PB_8);
+DigitalOut  LED_2(PB_9);
+
+
+ 
+int main() 
+{
+    while(1) 
+    {   
+        LED_1 = 1;
+        LED_2 = 1;
+        wait(0.5); // 500 ms
+        
+        LED_1 =0;
+        LED_2 = 0;
+        
+        wait(0.5); // 500 ms
+    }
+}
+ 
\ No newline at end of file