Masahiro Hirano
/
demo_program
first folk
Fork of demo_program by
Revision 9:be3f59c825d6, committed 2013-05-21
- Comitter:
- dan
- Date:
- Tue May 21 14:09:44 2013 +0000
- Parent:
- 8:cb9b22d13f60
- Commit message:
- Added LED2 support
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Mon May 20 09:14:45 2013 +0000 +++ b/main.cpp Tue May 21 14:09:44 2013 +0000 @@ -1,16 +1,19 @@ #include "mbed.h" DigitalOut myled(LED1); +DigitalOut newled(LED2); DigitalOut newled(LED3); DigitalOut newerled(LED4); int main() { while(1) { myled = 1; + myled2 = 1; newled = 1; newerled = 1; wait(0.5); myled = 0; + myled2 = 0; newled = 0; newerled = 0; wait(0.5);