Isaac Cruz
/
Practica_4_-_Ejercicio_01
p4e1
Revision 0:4450bc1017f2, committed 2019-10-16
- Comitter:
- isaacross99
- Date:
- Wed Oct 16 00:37:25 2019 +0000
- Commit message:
- p4e1
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 4450bc1017f2 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Wed Oct 16 00:37:25 2019 +0000 @@ -0,0 +1,11 @@ +#include "mbed.h" +DigitalOut Blue(LED3); +Serial pc(USBTX,USBRX); +int main(){ + Blue=1; + pc.printf("La tecla presionada es: \r\n"); + while(1){ + Blue=0; + pc.putc(pc.getc()); //Se visualizara en la terminal (en este caso, la de Arduino). + } +} \ No newline at end of file
diff -r 000000000000 -r 4450bc1017f2 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Wed Oct 16 00:37:25 2019 +0000 @@ -0,0 +1,1 @@ +https://os.mbed.com/users/mbed_official/code/mbed/builds/65be27845400 \ No newline at end of file