Practica_6_-_Ejercicio_02

Dependencies:   mbed TextLCD

Revision:
25:90e7333db6a7
Parent:
24:7f14b70fc9ef
Child:
26:29f649949409
--- a/main.cpp	Mon Apr 08 11:03:25 2019 +0100
+++ b/main.cpp	Tue Oct 01 18:17:17 2019 +0000
@@ -1,12 +1,12 @@
 #include "mbed.h"
 
-DigitalOut myled(LED1);
+DigitalOut foquito2(LED_BLUE);
 
 int main() {
     while(1) {
-        myled = 1;
-        wait(0.2);
-        myled = 0;
-        wait(0.2);
+        foquito2 = 1;
+        wait(5);
+        foquito2 = 0;
+        wait(5);
     }
 }