Masa 3
/
HelloWorld
Test program for Interface
Fork of HelloWorld by
Diff: main.cpp
- Revision:
- 2:7d2909f45e92
- Parent:
- 0:fb6bbc10ffa0
--- a/main.cpp Sun Jan 01 20:57:57 2012 +0000 +++ b/main.cpp Tue Jul 01 04:43:44 2014 +0000 @@ -1,12 +1,15 @@ #include "mbed.h" DigitalOut myled(LED1); +DigitalOut myled2(LED2); int main() { while(1) { myled = 1; + myled2 = 0; wait(0.2); myled = 0; + myled2 = 1; wait(0.2); } }