led1
Diff: ortegacer.h
- Revision:
- 1:4caeefd3a468
- Parent:
- 0:4ca08992df55
- Child:
- 2:689fab78137a
diff -r 4ca08992df55 -r 4caeefd3a468 ortegacer.h --- a/ortegacer.h Tue Feb 16 15:09:52 2016 +0000 +++ b/ortegacer.h Wed Feb 17 18:31:26 2016 +0000 @@ -9,12 +9,11 @@ #include "mbed.h" void ortegacer_led2(){ - while(1) { + myled = 1; wait(0.2); myled = 0; wait(0.2); - } }