Fork of DigitalOut_HelloWorld

Fork of DigitalOut_HelloWorld by mbed_example

Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing

main.cpp

Committer:
mbed_official
Date:
2013-02-13
Revision:
0:b5a9e0614efd
Child:
2:b4e2eee99a28

File content as of revision 0:b5a9e0614efd:

#include "mbed.h"

DigitalOut myled(LED1);

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