Práctica 2 Ejercicio 2
Dependencies: mbed
Revision 0:f287697a9c98, committed 2017-11-03
- Comitter:
- anderibabe
- Date:
- Fri Nov 03 14:21:46 2017 +0000
- Commit message:
- Pr?ctica 2 Ejercicio 2
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 f287697a9c98 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri Nov 03 14:21:46 2017 +0000 @@ -0,0 +1,13 @@ +#include "mbed.h" + +BusIn SW( A3,A4,A5); +BusOut LED( D3,D4,D5); + +int main() +{ + while(1) { + LED = SW^0x7; + + } + +}
diff -r 000000000000 -r f287697a9c98 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri Nov 03 14:21:46 2017 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/fb8e0ae1cceb \ No newline at end of file