sample code for workshop

Dependencies:   mbed

main.cpp

Committer:
okano
Date:
2015-04-10
Revision:
0:7904b1de1f1f

File content as of revision 0:7904b1de1f1f:

#include "mbed.h"

BusOut  leds( LED4, LED3, LED2, LED1 );

int main() {
    int     count   = 0;
    
    while(1) {
        leds    = count++;
        wait( 0.1 );
    }
}