Compare commits

...

6 Commits

Author SHA1 Message Date
sqfmi 3ffb0f8697 Update version and use WIFI_CONFIGURED 2024-04-01 18:10:51 -04:00
sqfmi b786f24240 Use WIFI_CONFIGURED 2024-04-01 18:08:12 -04:00
sqfmi 2528878570 Merge branch 'pr/231' 2024-04-01 18:06:59 -04:00
Sean M. Collins b8eeda70c6 Fix indenting 2023-05-25 13:42:34 +01:00
Sean M. Collins a719bfa116 Switch wifi off after info display 2023-05-24 20:55:47 +01:00
Sean M. Collins 459cc2a18f Display WiFi information in About screen 2023-05-24 20:42:31 +01:00
4 changed files with 13 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "Watchy", "name": "Watchy",
"version": "1.4.8", "version": "1.4.9",
"description": "Watchy - An Open Source E-Paper Watch by SQFMI", "description": "Watchy - An Open Source E-Paper Watch by SQFMI",
"authors": [ "authors": [
{ {

View File

@ -1,5 +1,5 @@
name=Watchy name=Watchy
version=1.4.8 version=1.4.9
author=SQFMI author=SQFMI
maintainer=SQFMI maintainer=SQFMI
sentence=Watchy - An Open Source E-Paper Watch by SQFMI sentence=Watchy - An Open Source E-Paper Watch by SQFMI

View File

@ -336,7 +336,16 @@ void Watchy::showAbout() {
display.print(hours); display.print(hours);
display.print("h"); display.print("h");
display.print(minutes); display.print(minutes);
display.print("m"); display.println("m");
if(WIFI_CONFIGURED){
display.print("SSID: ");
display.println(WiFi.SSID());
display.println("IP: ");
display.println(WiFi.localIP());
WiFi.mode(WIFI_OFF);
}else{
display.println("WiFi Not Setup");
}
display.display(false); // full refresh display.display(false); // full refresh
guiState = APP_STATE; guiState = APP_STATE;

View File

@ -2,7 +2,7 @@
#define CONFIG_H #define CONFIG_H
// Versioning // Versioning
#define WATCHY_LIB_VER "1.4.8" #define WATCHY_LIB_VER "1.4.9"
//pins //pins
#if !defined(ARDUINO_WATCHY_V10) && !defined(ARDUINO_WATCHY_V15) && !defined(ARDUINO_WATCHY_V20) #if !defined(ARDUINO_WATCHY_V10) && !defined(ARDUINO_WATCHY_V15) && !defined(ARDUINO_WATCHY_V20)