blink

Dependencies:   mbed

main.cpp

Committer:
fonz626
Date:
2015-05-16
Revision:
0:d1f0a19ee2f1

File content as of revision 0:d1f0a19ee2f1:

#include "mbed.h"

DigitalOut myled(LED2);

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