Nico De Witte / Mbed 2 deprecated tcp_machine_vision_server_single_client

Dependencies:   C12832 EthernetInterface mbed-rtos mbed ConfigFile

Revision:
8:845dfadaa70d
Parent:
7:23c8d34000eb
Child:
9:60ce5e733ea6
--- a/main.cpp	Sun Jun 14 10:45:10 2015 +0000
+++ b/main.cpp	Mon Jun 15 12:07:05 2015 +0000
@@ -37,7 +37,7 @@
         Log::v("Bringing ethernet interface online\r\n");
         
         
-//        int success = eth.init();         //Use DHCP
+        //int success = eth.init();         //Use DHCP
         int success = eth.init(IP_ADDRESS, NETMASK, GATEWAY);
         
         if (success < 0 || eth.connect() < 0) {    // Default timeout of 15 seconds
@@ -50,8 +50,8 @@
             setLcdServerInfo(eth.getIPAddress());
         
             // Start the daemon
-//            PlcStatusIndicator status_indicator(p21);
-            PlcStatusIndicator status_indicator(LED4);
+            PlcStatusIndicator status_indicator(p21);
+            //PlcStatusIndicator status_indicator(LED4);
             TcpDaemon daemon(TCP_SERVER_PORT, LED2, LED3, &status_indicator);
             Log::v("TCP daemon listening @ TCP_SERVER_PORT = %d\r\n", TCP_SERVER_PORT);
             daemon.startListening();