Wim Huiskamp
/
GoodbyeWorld
Stop the Blinking LED
Diff: main.cpp
- Revision:
- 0:088623ea241a
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Thu Feb 07 19:15:35 2013 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" + +DigitalOut myled(LED1); + +int main() { + myled = 1; + wait(0.5); + myled = 0; + + while(1) { + wait(1.0); + } +}