xudong song
/
Hello
hello
Revision 0:94de7c7252f2, committed 2019-01-26
- Comitter:
- tesla_xudong
- Date:
- Sat Jan 26 08:53:45 2019 +0000
- Commit message:
- hello1
Changed in this revision
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/.hgignore Sat Jan 26 08:53:45 2019 +0000 @@ -0,0 +1,6 @@ +mbed-os +.build +/mdot/ +/mdot-library/ +/BUILD/ +/.git/
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/hello.cpp Sat Jan 26 08:53:45 2019 +0000 @@ -0,0 +1,8 @@ +#include "mbed.h" + +Serial pc(USBTX, USBRX); // tx, rx + +int main() { + pc.printf("Hello World!\n"); + while(1); +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mbed-os.lib Sat Jan 26 08:53:45 2019 +0000 @@ -0,0 +1,1 @@ +https://github.com/ARMmbed/mbed-os/#16bac101a6b7b4724023dcf86ece1548e3a23cbf