BusOut Hello World

Dependencies:   mbed

Fork of BusOut_HelloWorld by mbed official

main.cpp

Committer:
mbed_official
Date:
2013-02-11
Revision:
0:717993c337df

File content as of revision 0:717993c337df:

#include "mbed.h"
 
BusOut myleds(LED1, LED2, LED3, LED4);
 
int main() {
    while(1) {
        for(int i=0; i<16; i++) {
            myleds = i;
            wait(0.25);
        }
    }
}