first folk

Dependencies:   mbed

Fork of demo_program by -deleted-

main.cpp

Committer:
dan
Date:
2012-06-07
Revision:
6:9f428344c4ee
Parent:
5:75210a3db173
Child:
7:9b6915e1191c

File content as of revision 6:9f428344c4ee:

#include "mbed.h"

DigitalOut myled(LED1);
DigitalOut newled(LED3);
DigitalOut newerled(LED4);

int main() {
    while(1) {
        myled = 1;
        newled = 1;
        newerled = 1;
        wait(0.5);
        myled = 0;
        newled = 0;
        newerled = 0;
        wait(0.5);
    }
}