first folk

Dependencies:   mbed

Fork of demo_program by -deleted-

main.cpp

Committer:
screamer
Date:
2013-05-20
Revision:
8:cb9b22d13f60
Parent:
7:9b6915e1191c
Child:
9:be3f59c825d6

File content as of revision 8:cb9b22d13f60:

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