Lab1-Part2

Dependencies:   PinDetect mbed

Fork of HelloWorld by Simon Ford

main.cpp

Committer:
simon
Date:
2011-01-16
Revision:
0:fb6bbc10ffa0
Child:
2:9dfa56288155

File content as of revision 0:fb6bbc10ffa0:

#include "mbed.h"

DigitalOut myled(LED1);

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