ortega3
Revision 1:f34f69a697a4, committed 2016-02-17
- Comitter:
- joseortega
- Date:
- Wed Feb 17 05:07:29 2016 +0000
- Parent:
- 0:7e1131ef1602
- Commit message:
- ortega12
Changed in this revision
ortega.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 7e1131ef1602 -r f34f69a697a4 ortega.h --- a/ortega.h Tue Feb 16 18:53:39 2016 +0000 +++ b/ortega.h Wed Feb 17 05:07:29 2016 +0000 @@ -1,21 +1,18 @@ -#ifndef ortegacer -#define ortegacer - - +#ifndef ortega +#define ortega void ortegacer_mensaje(){ pc.printf("hola"); } DigitalOut led2(LED1); #include "mbed.h" -void ortegacer_led2(){ +void ortega_led2(){ - while(1) { - myled = 1; + led2 = 1; wait(0.2); - myled = 0; + led2 = 0; wait(0.2); } -} + #endif \ No newline at end of file