Masahiro Hirano
/
demo_program
first folk
Fork of demo_program by
Diff: main.cpp
- Revision:
- 9:be3f59c825d6
- Parent:
- 8:cb9b22d13f60
--- 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);