aufgabe1_blinker

Dependencies:   mbed HelloWorld

main.cpp

Committer:
simon
Date:
2011-01-16
Revision:
0:fb6bbc10ffa0
Child:
2:95f947d9925e

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);
    }
}