led test fork

Dependencies:   mbed

Fork of ledblinking by krishna kumar

main.cpp

Committer:
krishna54504
Date:
2016-03-11
Revision:
0:87f47f8a67a8
Child:
1:967bb8e8290a

File content as of revision 0:87f47f8a67a8:

#include "mbed.h"

DigitalOut myled(LED1);

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