Dependencies:   mbed

Committer:
rs27
Date:
Tue May 08 17:42:51 2012 +0000
Revision:
0:6a46b967fdeb

        

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rs27 0:6a46b967fdeb 1 #include "mbed.h"
rs27 0:6a46b967fdeb 2
rs27 0:6a46b967fdeb 3 DigitalOut myled(LED1);
rs27 0:6a46b967fdeb 4
rs27 0:6a46b967fdeb 5 int main() {
rs27 0:6a46b967fdeb 6 while(1) {
rs27 0:6a46b967fdeb 7 myled = 1;
rs27 0:6a46b967fdeb 8 wait(0.2);
rs27 0:6a46b967fdeb 9 myled = 0;
rs27 0:6a46b967fdeb 10 wait(0.2);
rs27 0:6a46b967fdeb 11 }
rs27 0:6a46b967fdeb 12 }