Masahiro Hirano
/
demo_program
first folk
Fork of demo_program by
Diff: main.cpp
- Revision:
- 2:34d3bf46c928
- Parent:
- 0:ea96942621d5
- Child:
- 3:f16745a202c2
diff -r ea96942621d5 -r 34d3bf46c928 main.cpp --- a/main.cpp Thu Jun 07 12:13:56 2012 +0000 +++ b/main.cpp Thu Jun 07 12:16:11 2012 +0000 @@ -1,12 +1,15 @@ #include "mbed.h" DigitalOut myled(LED1); +DigitalOut newled(LED3); int main() { while(1) { myled = 1; + newled = 1; wait(0.2); myled = 0; + myled = 0; wait(0.2); } }