flapping wing
/
Nucleo_BusOut_sample
BusOut demo for Nucleo F303K8
Revision 0:76cbc1edaa8c, committed 2016-09-23
- Comitter:
- flappingwing
- Date:
- Fri Sep 23 07:18:56 2016 +0000
- Commit message:
- BusOut demo for Nucleo F303K8
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 76cbc1edaa8c main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Sep 23 07:18:56 2016 +0000 @@ -0,0 +1,12 @@ +#include "mbed.h" + +BusOut leds( D1,D0,D4,D5 ); + +int main() { + int count = 0; + + while(1) { + leds = count++; + wait( 0.1 ); + } +}
diff -r 000000000000 -r 76cbc1edaa8c mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Sep 23 07:18:56 2016 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/abea610beb85 \ No newline at end of file