David Hasenhüttl
/
Bertl_serial
Serial Port needed...
Revision 0:0dfb06dad97e, committed 2015-05-08
- Comitter:
- davidhasenhuettl
- Date:
- Fri May 08 08:39:54 2015 +0000
- Commit message:
- Easy Introduction into Serial Ports
Changed in this revision
diff -r 000000000000 -r 0dfb06dad97e main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Fri May 08 08:39:54 2015 +0000 @@ -0,0 +1,19 @@ +#include "mbed.h" +#include "ur_Bertl.h" +#include "const.h" + +Serial bt(p9, p10); + +int main() +{ + + int xy = 5; + + ur_Bertl karel; + + while(1){ + bt.printf("Hello Bertl: %d \n", xy); + wait(1); + } + +}
diff -r 000000000000 -r 0dfb06dad97e mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Fri May 08 08:39:54 2015 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/8ab26030e058 \ No newline at end of file
diff -r 000000000000 -r 0dfb06dad97e ur_Bertl.lib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ur_Bertl.lib Fri May 08 08:39:54 2015 +0000 @@ -0,0 +1,1 @@ +https://developer.mbed.org/teams/BERTL_CHEL_18/code/ur_Bertl/#3ce84646fd74