Pulse with LED

Dependencies:   mbed

main.cpp

Committer:
Eduvance
Date:
2014-05-19
Revision:
0:4bffa357d089
Child:
1:7f83116d4810

File content as of revision 0:4bffa357d089:

#include "mbed.h"

DigitalOut myled(LED1);

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