Test to demonstrate that TCP sockets lock up
Dependencies: EthernetInterface mbed-rtos mbed
Fork of TCPSocket_HelloWorld by
EthernetInterface to revision 32 (mbed-rtos to revision 12, mbed to revision 63)
Diff: main.cpp
- Revision:
- 16:9a1409b1a7fc
- Parent:
- 14:c3694118dd57
--- a/main.cpp Tue Jul 16 12:53:14 2013 +0000 +++ b/main.cpp Tue Jul 16 13:06:47 2013 +0000 @@ -3,14 +3,14 @@ #define RETRIES_ALLOWED 5 -Serial pc(USBTX, USBRX); +Serial pc2(USBTX, USBRX); EthernetInterface eth; DigitalOut led1(LED1); int main() { - pc.baud(115200); + pc2.baud(115200); printf("Initialising...\n"); set_time(0);