somme dumb test

main.cpp

Committer:
asmithmd1
Date:
2013-07-22
Revision:
0:a180484467e1
Child:
1:ea80f6d915c1

File content as of revision 0:a180484467e1:

#include "mbed.h"

DigitalOut myled0(LED1);
DigitalOut myled1(LED2);
DigitalOut myled2(LED3);
DigitalOut myled3(LED4);

int main() {
    while(1) {
        myled0 = 1;
        wait(0.1);
        myled0 = 0;
        wait(0.4);
        
        myled1 = 1;
        wait(0.1);
        myled1 = 0;
        wait(0.4);
        
        myled2 = 1;
        wait(0.1);
        myled2 = 0;
        wait(0.4);
        
        myled3 = 1;
        wait(0.1);
        myled3 = 0;
        wait(0.4);
    }
}