Yoshihiro TSUBOI
/
LPC1114FN28_UART_Hello_World
Sample code for testing mbed LPC1114FN28 UART
Revision 0:f5fca6956958, committed 2014-04-27
- Comitter:
- ytsuboi
- Date:
- Sun Apr 27 07:56:25 2014 +0000
- Commit message:
- Initial release
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 f5fca6956958 main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Sun Apr 27 07:56:25 2014 +0000 @@ -0,0 +1,10 @@ +#include "mbed.h" + +Serial pc(dp16, dp15); // tx, rx + +int main() { + while(1){ + pc.printf("Hello World!\r\n"); + wait(1); + } +}
diff -r 000000000000 -r f5fca6956958 mbed.bld --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed.bld Sun Apr 27 07:56:25 2014 +0000 @@ -0,0 +1,1 @@ +http://mbed.org/users/mbed_official/code/mbed/builds/6473597d706e \ No newline at end of file