cruz
Dependents: ImpresionGrupo ProyectoLeds2
Revision 6:24f05c8197ee, committed 2016-02-17
- Comitter:
- cruzgonzalez
- Date:
- Wed Feb 17 18:49:31 2016 +0000
- Parent:
- 5:e4b9bcfe0f04
- Commit message:
- cruz
Changed in this revision
cruz.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r e4b9bcfe0f04 -r 24f05c8197ee cruz.h --- a/cruz.h Wed Feb 17 18:27:47 2016 +0000 +++ b/cruz.h Wed Feb 17 18:49:31 2016 +0000 @@ -1,6 +1,5 @@ #ifndef CRUZ #define CRUZ -DigitalOut myled(LED2); #include "mbed.h" void cruz_mensaje(){ pc.printf("cruz"); @@ -8,9 +7,9 @@ } void cruz_led(){ - myled=0; + led2=0; wait(1); - myled=1; + led2=1; wait(1); }