led1
Diff: ortegacer.h
- Revision:
- 3:6b745845bbff
- Parent:
- 2:689fab78137a
--- 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); }