test

Dependencies:   mbed

main.cpp

Committer:
gsionek
Date:
2012-01-16
Revision:
0:80abebdcaaa6
Child:
1:e8904a92fd6c

File content as of revision 0:80abebdcaaa6:

#include "mbed.h"

DigitalOut myled(LED1);

Serial pc(USBTX, USBRX); // tx, rx

int main() {
    pc.printf("Hello World!\n");
    while(1) {
        myled = 1;
        wait(0.2);
        myled = 0;
        wait(0.2);
    }
}