pulsador con retardo

Dependencies:   mbed

main.cpp

Committer:
walterg
Date:
2014-03-27
Revision:
0:ca182e7de48c

File content as of revision 0:ca182e7de48c:

#include "mbed.h"

DigitalOut myled(LED1);

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