From bf7c95451022e1abf184987e75035c857906cbfb Mon Sep 17 00:00:00 2001 From: cube Date: Mon, 24 Mar 2025 22:49:02 +0000 Subject: [PATCH] added black boxes for the connection and location strings when they update --- Seeed Wio Terminal/projects/m5-gps.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Seeed Wio Terminal/projects/m5-gps.ino b/Seeed Wio Terminal/projects/m5-gps.ino index 391c181..4993000 100644 --- a/Seeed Wio Terminal/projects/m5-gps.ino +++ b/Seeed Wio Terminal/projects/m5-gps.ino @@ -40,6 +40,7 @@ void setup() pinPeripheral(PIN_WIRE_SCL, PIO_SERCOM_ALT); pinPeripheral(PIN_WIRE_SCL, PIO_SERCOM_ALT); + tft.drawString("Not using WiFi", 10, 10); WiFi.begin(ssid, pw); } @@ -103,6 +104,7 @@ void displayInfo() if((WiFi.status() == WL_CONNECTED)) { String wifi_text = "Connected to WiFi: " + String(ssid); + tft.fillRect(10, 10, 250, 20, TFT_BLACK); tft.drawString(wifi_text, 10, 10); api_lookup(); } @@ -132,6 +134,7 @@ void api_lookup() String name = doc["name"]; String state = doc["state"]; String loc_text = name + ", " + state; + tft.fillRect(10, 80, 200, 20, TFT_BLACK); tft.drawString(loc_text, 10, 80); } }