Personal pork

Dependencies:   mbed

Fork of DigitalOut_HelloWorld by mbed_example

main.cpp

Committer:
manisman
Date:
2015-01-14
Revision:
3:4e43551a6502
Parent:
2:b4e2eee99a28

File content as of revision 3:4e43551a6502:

#include "mbed.h"

DigitalOut myled(LED1);

int main() {
    while(1) {
        myled = 1;  // turn myled on
        wait(0.2);
        myled = 0;  // turn myled off
        wait(0.2);
    }
}
// added comment