logesan srinivasalu
/
HelloWorld
2 led blink
Fork of HelloWorld by
Revision 2:345fea916363, committed 2013-03-08
- Comitter:
- logesan
- Date:
- Fri Mar 08 02:48:14 2013 +0000
- Parent:
- 1:03c191369089
- Commit message:
- 2 led
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Sun Jan 01 20:57:57 2012 +0000 +++ b/main.cpp Fri Mar 08 02:48:14 2013 +0000 @@ -1,12 +1,16 @@ #include "mbed.h" DigitalOut myled(LED1); - +DigitalOut myled1(LED2); int main() { while(1) { myled = 1; wait(0.2); myled = 0; wait(0.2); + myled1 =1; + wait(0.4); + myled1 =0; + wait(0.4); } }