blink a led
Dependencies: mbed
Diff: main.cpp
- Revision:
- 15:54d9ef9b943e
- Parent:
- 14:a937e53670d2
- Child:
- 16:21a80819dad9
--- a/main.cpp Sat May 28 06:33:21 2016 +0000 +++ b/main.cpp Sat May 28 07:20:30 2016 +0000 @@ -7,13 +7,13 @@ // spin in a main loop all the time while(1) { - // turn off LED + // turn on LED myled = 1; // wait wait(0.2); - // YOUR CODE HERE : turn on the LED + // YOUR CODE HERE : turn off the LED // wait again