it doesent work
Dependencies: EthernetNetIf mbed
Fork of TCP_server by
Revision 2:776a8f41728f, committed 2013-10-29
- Comitter:
- wango
- Date:
- Tue Oct 29 23:05:06 2013 +0000
- Parent:
- 1:da09e6a94937
- Commit message:
- TCP SERVER FET10
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r da09e6a94937 -r 776a8f41728f main.cpp --- a/main.cpp Mon Sep 06 15:22:33 2010 +0000 +++ b/main.cpp Tue Oct 29 23:05:06 2013 +0000 @@ -32,6 +32,7 @@ #include "TCPSocket.h" DigitalOut led4(LED4, "led4"); +DigitalOut led(LED1); // EthernetNetIf eth; EthernetNetIf eth( @@ -186,6 +187,9 @@ while(true) { Net::poll(); + + + if(tmr.read() > 0.2) // sec { led4=!led4; //Show that we are alive