Binary Counter on 4 Relè digit of Experiment BOX with Arduino

Dependencies:   mbed

Fork of BusOut_HelloWorld by mbed_example

main.cpp

Committer:
Polisenno
Date:
2014-10-18
Revision:
2:3e552c5d3ea4
Parent:
0:717993c337df

File content as of revision 2:3e552c5d3ea4:

#include "mbed.h"
 
BusOut myleds(D13, D4, D7, D8);
 
int main() {
    while(1) {
        for(int i=0; i<16; i++) {
            myleds = i;
            wait(0.25);
        }
    }
}