diff options
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | weather.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -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" |
