Skip to content

Commit

Permalink
add version number to wifi setup display
Browse files Browse the repository at this point in the history
  • Loading branch information
kamerat committed Nov 28, 2024
1 parent bb07a4c commit 3176383
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wifiView.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 1 addition & 0 deletions src/yr-regn-display.ino
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3176383

Please sign in to comment.