simple led blink

Dependencies:   mbed

main.cpp

Committer:
sfjmt
Date:
2013-08-06
Revision:
0:4a314632764b

File content as of revision 0:4a314632764b:

#include "mbed.h"

DigitalOut myled(LED3);

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