From 12a5b608c7f6a647e935755ba90d5b411287d241 Mon Sep 17 00:00:00 2001 From: Daniel Eichhorn Date: Sun, 25 Jun 2017 13:33:02 +0200 Subject: [PATCH] Adjusted settings --- settings.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/settings.h b/settings.h index 0705900..6106837 100644 --- a/settings.h +++ b/settings.h @@ -36,8 +36,8 @@ const int UPDATE_INTERVAL_SECS = 10 * 60; // Update every 10 minutes // http://api.wunderground.com/api/WUNDERGROUND_API_KEY/conditions/q/WUNDERGROUND_COUNTTRY/WUNDERGROUND_CITY.json // e.g. http://api.wunderground.com/api/808ba87ed77c4511/conditions/q/CH/Zurich.json // 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 -const boolean IS_METRIC = true; -const String WUNDERGRROUND_API_KEY = "808ba87ed77c4501"; + +const String WUNDERGRROUND_API_KEY = "WUNDERGROUND_API_KEY"; const String WUNDERGRROUND_LANGUAGE = "EN"; const String WUNDERGROUND_COUNTRY = "CH"; const String WUNDERGROUND_CITY = "Zurich"; @@ -51,6 +51,9 @@ struct dstRule EndRule = {"CET", Last, Sun, Oct, 2, 0}; // Central Europea // struct dstRule StartRule = {"EDT", Second, Sun, Mar, 2, 3600}; // Eastern Daylight time = UTC/GMT -4 hours // struct dstRule EndRule = {"EST", First, Sun, Nov, 1, 0}; // Eastern Standard time = UTC/GMT -5 hour +// values in metric or imperial system? +const boolean IS_METRIC = true; + // Change for 12 Hour/ 24 hour style clock #define STYLE_12HR false