Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ELEC351_Group_T by
Diff: NETWORK.cpp
- Revision:
- 12:536eca338ae8
- Parent:
- 8:0e4481b64353
--- a/NETWORK.cpp Wed Dec 20 14:43:55 2017 +0000
+++ b/NETWORK.cpp Wed Dec 20 15:18:00 2017 +0000
@@ -31,7 +31,7 @@
using namespace std;
//Block and wait on an incoming connection
srv.accept(&clt_sock, &clt_addr);
- printf("accept %s:%d\n", clt_addr.get_ip_address(), clt_addr.get_port());
+ //printf("accept %s:%d\n", clt_addr.get_ip_address(), clt_addr.get_port());
//Uses a C++ string to make it easier to concatinate
string response;
@@ -43,7 +43,7 @@
//Convert to a C String
sprintf(ldr_str, "%5.3f", u );
- printf("LDR: %5.3f\n\r", u);
+ //printf("LDR: %5.3f\n\r", u);
//Build the C++ string response
response = HTTP_MESSAGE_BODY1;
