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)
Revision 16:9a1409b1a7fc, committed 2013-07-16
- Comitter:
- mbed714
- Date:
- Tue Jul 16 13:06:47 2013 +0000
- Parent:
- 15:295946a1ecb5
- Parent:
- 14:c3694118dd57
- Commit message:
- Update of libraries
Changed in this revision
| PicoTCP.lib | Show diff for this revision Revisions of this file |
| lpc1768-picotcp-eth.lib | Show diff for this revision Revisions of this file |
--- 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);
