Hello world navleen

Dependencies:   mbed

Fork of HelloWorld by Simon Ford

main.cpp

Committer:
simon
Date:
2011-01-16
Revision:
0:fb6bbc10ffa0
Child:
2:e8e4daf36a29

File content as of revision 0:fb6bbc10ffa0:

#include "mbed.h"

DigitalOut myled(LED1);

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