Fixed the main html page.

This commit is contained in:
klaute 2018-07-11 11:55:58 +02:00
parent 9dd90841a5
commit cee44bee6b

View file

@ -56,11 +56,11 @@ void showHTMLMain(void) {
"<br><a href=\"http://" + ip + ":8080/update\">firmware update</a><br><br>"
"<table>"
"<tr><td>temperature</td><td>" + String(sensValues[SENSOR_TEMPERATURE]) + "</td></tr>"
"<tr><td>humidity=" + String(sensValues[SENSOR_HUMIDITY]) + "</td></tr>"
"<tr><td>light=" + String(sensValues[SENSOR_LIGHT]) + "</td></tr>"
"<tr><td>windspeed=" + String(sensValues[SENSOR_WINDSPEED]) + "</td></tr>"
"<tr><td>pressure=" + String(sensValues[SENSOR_PRESSURE]) + "</td></tr>"
"<tr><td>batvoltage=" + String(sensValues[SENSOR_BAT_VOLTAGE]) + "</td></tr>";
"<tr><td>humidity</td><td>" + String(sensValues[SENSOR_HUMIDITY]) + "</td></tr>"
"<tr><td>light</td><td>" + String(sensValues[SENSOR_LIGHT]) + "</td></tr>"
"<tr><td>windspeed</td><td>" + String(sensValues[SENSOR_WINDSPEED]) + "</td></tr>"
"<tr><td>pressure</td><td>" + String(sensValues[SENSOR_PRESSURE]) + "</td></tr>"
"<tr><td>batvoltage</td><td>" + String(sensValues[SENSOR_BAT_VOLTAGE]) + "</td></tr>";
"</table>"
"</body></html>";