|
|
|
|
201
|
tft.drawString("Uptime: " + String(millis() / 1000) + "sec", 0, 40 + 16 * 8, 1);
|
201
|
tft.drawString("Uptime: " + String(millis() / 1000) + "sec", 0, 40 + 16 * 8, 1);
|
202
|
tft.drawString("IPv4: " + WiFi.localIP().toString(), 0, 40 + 16 * 9, 1);
|
202
|
tft.drawString("IPv4: " + WiFi.localIP().toString(), 0, 40 + 16 * 9, 1);
|
203
|
tft.drawString("IPv6: " + WiFi.localIPv6().toString(), 0, 40 + 16 * 10, 1);
|
203
|
tft.drawString("IPv6: " + WiFi.localIPv6().toString(), 0, 40 + 16 * 10, 1);
|
204
|
-
|
|
|
|
|
204
|
+ tft.drawString("Hostname: " + String(SENSOR_HOSTNAME_PREFIX) + String(SENSOR_ID), 0, 40 + 16 * 11, 1);
|
205
|
tft.drawString("LDR: " + String(ldr_value), 0, 40 + 16 * 12, 1);
|
205
|
tft.drawString("LDR: " + String(ldr_value), 0, 40 + 16 * 12, 1);
|
206
|
}
|
206
|
}
|
207
|
|
207
|
|