From 6ff1fca03271efd35f3ce7ab49f8fe195e024808 Mon Sep 17 00:00:00 2001 From: LoveBootCaptain Date: Mon, 28 Nov 2016 15:28:23 +0100 Subject: [PATCH] Bug: Missing Moonphase Icon /moon23.bmp The Icon for the last Moonphase is missing. Serial Console shows /moon23.bmp is missing. Just changed one Line to get the last icon fetched. --- esp8266-weather-station-color.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp8266-weather-station-color.ino b/esp8266-weather-station-color.ino index 45c01b0..36514b0 100644 --- a/esp8266-weather-station-color.ino +++ b/esp8266-weather-station-color.ino @@ -185,7 +185,7 @@ void downloadResources() { tft.fillRect(0, 120, 240, 40, ILI9341_BLACK); webResource.downloadFile("http://www.squix.org/blog/wunderground/mini/" + wundergroundIcons[i] + ".bmp", "/mini/" + wundergroundIcons[i] + ".bmp", _downloadCallback); } - for (int i = 0; i < 23; i++) { + for (int i = 0; i < 24; i++) { tft.fillRect(0, 120, 240, 40, ILI9341_BLACK); webResource.downloadFile("http://www.squix.org/blog/moonphase_L" + String(i) + ".bmp", "/moon" + String(i) + ".bmp", _downloadCallback); }