Mod10 Counter Counts 0 - 9 on Single Seven Segment Display

Dependencies:   mbed

main.cpp

Committer:
Eduvance
Date:
2014-05-17
Revision:
0:375418015e74
Child:
1:cecfed677a08

File content as of revision 0:375418015e74:

#include "mbed.h"

DigitalOut myled(LED1);

int main() {
    while(1) {
        myled = 1;
        wait(0.2);
        myled = 0;
        wait(0.2);
    }
}