File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1717SOFTWARE.
1818See more at https://blog.squix.org
1919*/
20-
20+
2121#include < Arduino.h>
2222#include < SPI.h>
2323#include < ESP8266WiFi.h>
@@ -50,7 +50,7 @@ See more at https://blog.squix.org
5050 * Important: see settings.h to configure your settings!!!
5151 * ***************************/
5252#include " settings.h"
53-
53+
5454
5555#define MINI_BLACK 0
5656#define MINI_WHITE 1
@@ -163,7 +163,7 @@ void setup() {
163163 carousel.disableAllIndicators ();
164164
165165 // Manual Wifi
166- WiFi.begin (" yourssid " , " yourpassw0rd " );
166+ WiFi.begin (WIFI_SSID, WIFI_PASS );
167167 while (WiFi.status () != WL_CONNECTED) {
168168 delay (500 );
169169 Serial.print (" ." );
@@ -551,7 +551,7 @@ const char* getMeteoconIconFromProgmem(String iconText) {
551551 if (iconText == " snow" ) return snow;
552552 if (iconText == " sunny" ) return sunny;
553553 if (iconText == " tstorms" ) return tstorms;
554-
554+
555555
556556 return unknown;
557557}
Original file line number Diff line number Diff line change @@ -32,15 +32,16 @@ const int UPDATE_INTERVAL_SECS = 10 * 60; // Update every 10 minutes
3232#define TOUCH_CS D3
3333#define TOUCH_IRQ D4
3434
35-
35+ #define WIFI_SSID "yourssid"
36+ #define WIFI_PASS "yourpassw0rd"
3637// Wunderground Settings
3738// To check your settings first try them out in your browser:
3839// http://api.wunderground.com/api/WUNDERGROUND_API_KEY/conditions/q/WUNDERGROUND_COUNTTRY/WUNDERGROUND_CITY.json
3940// e.g. http://api.wunderground.com/api/808ba87ed77c4511/conditions/q/CH/Zurich.json
4041// e.g. http://api.wunderground.com/api/808ba87ed77c4511/conditions/q/CA/SAN_FRANCISCO.json <- note that in the US you use the state instead of country code
4142
4243const String DISPLAYED_CITY_NAME = "Zürich" ;
43- const String WUNDERGRROUND_API_KEY = "<WUNDERGROUND KEY> " ;
44+ const String WUNDERGRROUND_API_KEY = "WUNDERGROUND_API_KEY " ;
4445const String WUNDERGRROUND_LANGUAGE = "EN" ;
4546const String WUNDERGROUND_COUNTRY = "CH" ;
4647const String WUNDERGROUND_CITY = "Zurich" ;
You can’t perform that action at this time.
0 commit comments