Counter

Dependencies:   mbed

main.cpp

Committer:
Eduvance
Date:
2014-05-19
Revision:
0:776a127ae50b
Child:
1:97ee52dedac3

File content as of revision 0:776a127ae50b:

#include "mbed.h"

DigitalOut myled(LED1);

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