led1

Dependents:   ProyectoLeds2

Files at this revision

API Documentation at this revision

Comitter:
joseortega
Date:
Wed Feb 17 18:51:28 2016 +0000
Parent:
2:689fab78137a
Commit message:
////

Changed in this revision

ortegacer.h Show annotated file Show diff for this revision Revisions of this file
diff -r 689fab78137a -r 6b745845bbff ortegacer.h
--- a/ortegacer.h	Wed Feb 17 18:33:32 2016 +0000
+++ b/ortegacer.h	Wed Feb 17 18:51:28 2016 +0000
@@ -5,14 +5,13 @@
 void ortegacer_mensaje(){
       pc.printf("hola");   
 }
-DigitalOut led2(LED1);
 #include "mbed.h"
 void ortegacer_led2(){
     
 
-        myled = 0;
+        led1= 0;
         wait(0.2);
-        myled = 1;
+        led1 = 1;
         wait(0.2);
 }