BusOut Hello World
Dependencies: mbed
Fork of BusOut_HelloWorld by
Revision 0:717993c337df, committed 2013-02-11
- Comitter:
- mbed_official
- Date:
- Mon Feb 11 17:29:01 2013 +0000
- Commit message:
- Hello World for BusOut
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 717993c337df main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Feb 11 17:29:01 2013 +0000 @@ -0,0 +1,12 @@ +#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); + } + } +} \ No newline at end of file
diff -r 000000000000 -r 717993c337df mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Mon Feb 11 17:29:01 2013 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/0954ebd79f59 \ No newline at end of file