W7500P TCP UART 예제
Dependencies: mbed WIZnetInterface
W7500P 개발보드의 TCP 서버 예제 입니다.
텔넷포트(23)를 기본설정으로 사용중이며, DHCP를 통해 인터넷 연결설정이 됩니다.
Diff: main.cpp
- Revision:
- 0:02f8a386a4ae
- Child:
- 1:ea9223739b1b
diff -r 000000000000 -r 02f8a386a4ae main.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Mon Oct 16 02:20:05 2017 +0000 @@ -0,0 +1,14 @@ +// Print "Hello World" to the PC + +#include "mbed.h" + +Serial pc(USBTX, USBRX); + +int main() { + pc.baud(115200); + + + + pc.printf("Hello World\n"); + +}