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 by
Diff: NETWORK.cpp
- Revision:
- 48:244d6d81bb52
- Parent:
- 47:6d128e500875
- Child:
- 52:99915f5240b2
--- a/NETWORK.cpp Mon Jan 08 21:53:40 2018 +0000 +++ b/NETWORK.cpp Tue Jan 09 00:37:01 2018 +0000 @@ -34,7 +34,7 @@ } void Networking() { - if(Log_Value==1){pc.printf("In Network Thread\n");} + if(Log_Value==2){pc.printf("In Network Thread\n");} time_t Time = Data_Buffer[(Write_Pointer - 1)].get_time(); tm* Time_Pointer = localtime(&Time); @@ -91,6 +91,8 @@ response +=output9_str; response += HTTP_MESSAGE_BODY2; + + if(Log_Value==2){pc.printf("Printing Network Data\n");} //Send static HTML response (as a C string) clt_sock.send(response.c_str(), response.size()+6); } \ No newline at end of file