mirror of https://github.com/sqfmi/Watchy.git
Use WIFI_CONFIGURED
parent
b8eeda70c6
commit
b786f24240
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Watchy",
|
||||
"version": "1.4.7",
|
||||
"version": "1.4.9",
|
||||
"description": "Watchy - An Open Source E-Paper Watch by SQFMI",
|
||||
"authors": [
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name=Watchy
|
||||
version=1.4.7
|
||||
version=1.4.9
|
||||
author=SQFMI
|
||||
maintainer=SQFMI
|
||||
sentence=Watchy - An Open Source E-Paper Watch by SQFMI
|
||||
|
|
|
@ -349,12 +349,14 @@ void Watchy::showAbout() {
|
|||
display.print("h");
|
||||
display.print(minutes);
|
||||
display.println("m");
|
||||
if(connectWiFi()){
|
||||
if(WIFI_CONFIGURED){
|
||||
display.print("SSID: ");
|
||||
display.println(WiFi.SSID());
|
||||
display.println("IP address: ");
|
||||
display.println("IP: ");
|
||||
display.println(WiFi.localIP());
|
||||
WiFi.mode(WIFI_OFF);
|
||||
}else{
|
||||
display.println("WiFi Not Setup");
|
||||
}
|
||||
display.display(false); // full refresh
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#define CONFIG_H
|
||||
|
||||
// Versioning
|
||||
#define WATCHY_LIB_VER "1.4.7"
|
||||
#define WATCHY_LIB_VER "1.4.9"
|
||||
|
||||
//pins
|
||||
#if !defined(ARDUINO_WATCHY_V10) && !defined(ARDUINO_WATCHY_V15) && !defined(ARDUINO_WATCHY_V20)
|
||||
|
|
Loading…
Reference in New Issue