diff --git a/ESP-sc-gway/_utils.ino b/ESP-sc-gway/_utils.ino index 31e9ff8..515fa26 100644 --- a/ESP-sc-gway/_utils.ino +++ b/ESP-sc-gway/_utils.ino @@ -17,7 +17,7 @@ // ======================================================================================== // ---------------------------------------------------------------------------- -// Print a HEXadecimal string from a 4-byte char string +// Fill a HEXadecimal Stromg string from a 4-byte char string // // ---------------------------------------------------------------------------- static void printHEX(char * hexa, const char sep, String& response) @@ -74,6 +74,7 @@ static void stringTime(time_t t, String& response) { // ---------------------------------------------------------------------------- // SerialTime +// Print the current time on the Serial (USB), with leading 0. // ---------------------------------------------------------------------------- void SerialTime() { @@ -91,4 +92,4 @@ void SerialTime() if (debug>=2) Serial.flush(); return; -} \ No newline at end of file +} diff --git a/ESP-sc-gway/_wwwServer.ino b/ESP-sc-gway/_wwwServer.ino index 515d5e8..19d8d9f 100644 --- a/ESP-sc-gway/_wwwServer.ino +++ b/ESP-sc-gway/_wwwServer.ino @@ -56,8 +56,6 @@ static void printIP(IPAddress ipa, const char sep, String& response) - - // ---------------------------------------------------------------------------- // SET ESP8266 WEB SERVER VARIABLES // @@ -222,6 +220,7 @@ static void openWebPage() response +="
";
response +="Version: "; response+=VERSION;
response +="
ESP alive since "; // STARTED ON
stringTime(startTime, response);
@@ -243,6 +242,7 @@ static void openWebPage()
response +="
Current time "; // CURRENT TIME
stringTime(now(), response);
response +="
";
+ response +="
Click here to explain Help and REST options