 
 ThingspeakClient thingspeak;
 
+// declaring prototypes
+void drawFrame1(int x, int y);
+void drawFrame2(int x, int y);
+void drawFrame3(int x, int y);
+void drawFrame4(int x, int y);
+void setReadyForWeatherUpdate();
+void drawForecast(int x, int y, int dayIndex);
+
 // this array keeps function pointers to all frames
 // frames are the single views that slide from right to left
 bool (*frames[])(SSD1306 *display, SSD1306UiState* state, int x, int y) = { drawFrame1, drawFrame2, drawFrame3, drawFrame4, drawFrame5 };

#include "SSD1306Ui.h"
#include "Wire.h"
#include "WundergroundClient.h"
#include "WeatherStationFonts.h";
#include "WeatherStationImages.h";
#include "TimeClient.h"
#include "ThingspeakClient.h"


  display.setContrast(255);

  WiFi.begin(WIFI_SSID, WIFI_PWD);

  int counter = 0;
  while (WiFi.status() != WL_CONNECTED) {
    delay(500);
