My blinking LEDs

Dependencies:   mbed

Fork of demo_program by -deleted-

main.cpp

Committer:
dan
Date:
2012-06-26
Revision:
7:9b6915e1191c
Parent:
6:9f428344c4ee
Child:
8:810b0bafbd65

File content as of revision 7:9b6915e1191c:

#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);
        //test
    }
}