Cambios de Chanfa (semana pasada)

Dependencies:   Led RgbLED SDFileSystem mbed

Revision:
0:7373f4ac36fb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/main.cpp	Sat Jun 10 14:46:33 2017 +0000
@@ -0,0 +1,38 @@
+#include "mbed.h"
+#include "SDFileSystem.h"
+#include "Led.h"
+
+
+DigitalIn sw2(SW2);
+DigitalIn sw3(SW3);
+
+
+//TODO
+//Funcion para manejar el boton 3 (ciclo de colores)
+//Funcion principal que haga un ciclo para ve el estado del boton y escribe en la SD
+
+bool LED = false;
+
+void Boton2() {
+    if (sw2 == 0) {
+        if (LED) {
+            LEDEstado(false);
+        } else {
+            LEDEstado(true);
+        }
+        wait(0.2f);
+    }
+}
+
+void Boton3() {
+    if (sw3 == 0) {
+        
+    }
+}
+
+
+int main() {
+
+    
+}
+    
\ No newline at end of file