My blinking LEDs

Dependencies:   mbed

main.cpp

Committer:
shuihu
Date:
2013-10-12
Revision:
0:0b74b899525b

File content as of revision 0:0b74b899525b:

#include "mbed.h"

DigitalOut myled(LED1);

int main() {
    while(1) {
        myled = 1;
        wait(0.2);
        myled = 0;
        wait(0.2);
    }
}