Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
41:69bf7091c2ca
Parent:
40:990683572031
Child:
43:455522f98de5
--- a/main.cpp	Thu Oct 02 18:19:54 2014 +0000
+++ b/main.cpp	Thu Oct 02 21:22:54 2014 +0000
@@ -163,32 +163,7 @@
                 //<><><><><><><><><><>
                 /*count++;            
                 if( count  == 5 ){
-                    debug_msg("Inicio do TCP");                    
-                    TCPSocketServer server;
-                    server.bind( TCP_PORT_LISTENER );
-                    server.listen();
-                    
-                    while (true) {
-                        led1 = 0;
-                        TCPSocketConnection client;
-                        server.accept(client);
-                        led4 = 1;
-                        client.set_blocking( true, 1500 );
-                        char buffer[256];
-                        
-                        while (true){
-                            led2 = 0;
-                            int n = client.receive(buffer, sizeof( buffer ));
-                            
-                            client.send_all(buffer, n );
-                            
-                            if( !( strncmp( buffer, "quit", 4 ) ) ){ 
-                                led3 = 1;
-                                client.close();
-                                break;
-                            }
-                        }
-                    }
+                    debug_msg("Colocar simulacoes de cbx aqui");                    
                 }*/
                 
             }