We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85fe129 commit c250544Copy full SHA for c250544
examples/WeatherStationDemo/WeatherStationDemo.ino
@@ -81,13 +81,13 @@ WundergroundClient wunderground(IS_METRIC);
81
ThingspeakClient thingspeak;
82
83
// declaring prototypes
84
-void drawFrame1(int x, int y);
85
-void drawFrame2(int x, int y);
86
-void drawFrame3(int x, int y);
87
-void drawFrame4(int x, int y);
88
-void drawFrame5(int x, int y);
+bool drawFrame1(SSD1306 *display, SSD1306UiState* state, int x, int y);
+bool drawFrame2(SSD1306 *display, SSD1306UiState* state, int x, int y);
+bool drawFrame3(SSD1306 *display, SSD1306UiState* state, int x, int y);
+bool drawFrame4(SSD1306 *display, SSD1306UiState* state, int x, int y);
+bool drawFrame5(SSD1306 *display, SSD1306UiState* state, int x, int y);
89
void setReadyForWeatherUpdate();
90
-void drawForecast(int x, int y, int dayIndex);
+void drawForecast(SSD1306 *display, int x, int y, int dayIndex);
91
92
// this array keeps function pointers to all frames
93
// frames are the single views that slide from right to left
0 commit comments