diff --git a/src/wifiView.ino b/src/wifiView.ino index 3ec2bf8..81657ae 100644 --- a/src/wifiView.ino +++ b/src/wifiView.ino @@ -13,6 +13,8 @@ void displayWiFiSetup(DisplayType& display, WiFiManager *wifiManager, const char display.setCursor(115, 15); display.print("WIFI Konfigurasjon"); + display.setCursor(115, 25); + display.print(FW_VERSION); display.setCursor(115, 49); display.print("SSID: "); display.setCursor(115, 79); diff --git a/src/yr-regn-display.ino b/src/yr-regn-display.ino index 26de95a..cc77d77 100644 --- a/src/yr-regn-display.ino +++ b/src/yr-regn-display.ino @@ -17,6 +17,7 @@ const char* yrApiUrl = "https://www.yr.no/api/v0/locations/%s/forecast/now"; const int BUTTON_PIN = 39; // LilyGo T5 integrated button pin const int UPDATE_INTERVAL = 5 * 60 * 1000000; // 5 minutes in microseconds const int CYCLES_BEFORE_RESTART = 288; // Restart every 24 hours (288 * 5 minutes) +const char* FW_VERSION = "v1.3.1"; // Version number - Just for showing in the wifi setup screen // Global variables String yrLocation; // String to store the YR location provided by the user