Pedro Colla / Mbed 2 deprecated CTo_VyV_TPAlarma

Dependencies:   mbed

Revision:
0:f42f18c56a88
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LED.cpp	Sat Nov 16 00:48:19 2013 +0000
@@ -0,0 +1,16 @@
+#include "alarma.h"
+#include "mbed.h"
+
+void LED(int a){
+    if(a == 1){
+        Indicador = 1;
+        wait(0.2);
+        Indicador = 0;
+        wait(0.2);
+    }
+    else if(a == 2)
+        Indicador = 1;
+    else
+        Indicador = 0;
+    return;
+}   
\ No newline at end of file