Serve information about memory
This commit is contained in:
parent
ad74c2a8d7
commit
d6ae3ca283
@ -5,6 +5,8 @@ void handleRoot() {
|
|||||||
"Current temperature " + String(temp, 2) + "C<br/>"
|
"Current temperature " + String(temp, 2) + "C<br/>"
|
||||||
"Current pressure " + String(pressure, 2) + "mB<br/>"
|
"Current pressure " + String(pressure, 2) + "mB<br/>"
|
||||||
"MQTT Status: " + (MQTT_isConnected() ? "Connected" : "Disconnected") + "<br/>"
|
"MQTT Status: " + (MQTT_isConnected() ? "Connected" : "Disconnected") + "<br/>"
|
||||||
|
"Free space: "+ ESP.getFreeSketchSpace() +"<br/>"
|
||||||
|
"Free heap: "+ ESP.getFreeHeap() +"<br/>"
|
||||||
"<a href=\"/setup\">Setup</a><br/>"
|
"<a href=\"/setup\">Setup</a><br/>"
|
||||||
"<a href=\"/otamode\">OTA mode</a><br/>"
|
"<a href=\"/otamode\">OTA mode</a><br/>"
|
||||||
"<a href=\"/gpio?gpio=2&value=1\">ON</a><br/>"
|
"<a href=\"/gpio?gpio=2&value=1\">ON</a><br/>"
|
||||||
|
Loading…
Reference in New Issue
Block a user