summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--weather.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index fa44a6a..97fe991 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,2 @@
Based on [esp8266-wifi-setup](https://github.com/9SQ/esp8266-wifi-setup/) by Kei Yoshimura.
+To use, you need an OpenWeatherMap API key.
diff --git a/weather.cpp b/weather.cpp
index 4fabb1e..e76e462 100644
--- a/weather.cpp
+++ b/weather.cpp
@@ -7,6 +7,7 @@
#define JSONSIZE 1500 // json buffer size, for a cnt=2 request
// ^ be careful with counter over/underflows!
+#error "Specify an OpenWeatherMap API key and delete this line."
#define CITYID "YOURCITYID"
#define APIKEY "YOURAPIKEY"