Skip to content

Commit

Permalink
Invert min / max color
Browse files Browse the repository at this point in the history
  • Loading branch information
paulgreg committed Aug 15, 2020
1 parent 018f928 commit 7a587f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions esp32-weather-station.ino
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,11 @@ void displayWeather(Weather* weather) {
} while (display.nextPage());
}

void displayDayMinMax(int x, char* title, char* icon, char* tempMin, char* tempMax, char* humidity) {
void displayDayMinMax(int x, char* title, char* icon, char* temp1, char* temp2, char* humidity) {
drawBigText(x + 5, 30, title);
drawIcon(x, 30, icon);
drawText(x + 10, 116, tempMax, GxEPD_RED);
drawText(x + 10, 138, tempMin, GxEPD_BLACK);
drawText(x + 10, 116, temp1, GxEPD_BLACK);
drawText(x + 10, 138, temp2, GxEPD_RED);
drawSmallText(x + 25, 156, humidity);
}

Expand Down

0 comments on commit 7a587f1

Please sign in to comment.