Tedd OKANO
/
__BusOut_sample
sample code for workshop
Revision 0:7904b1de1f1f, committed 2015-04-10
- Comitter:
- okano
- Date:
- Fri Apr 10 09:04:08 2015 +0000
- Commit message:
- initial version
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
mbed.bld | Show annotated file Show diff for this revision Revisions of this file |
diff -r 000000000000 -r 7904b1de1f1f main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Apr 10 09:04:08 2015 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" + +BusOut leds( LED4, LED3, LED2, LED1 ); + +int main() { + int count = 0; + + while(1) { + leds = count++; + wait( 0.1 ); + } +}
diff -r 000000000000 -r 7904b1de1f1f mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Apr 10 09:04:08 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/487b796308b0 \ No newline at end of file