From e962b59d4ed0a6626eac71087257cf710f7a0a33 Mon Sep 17 00:00:00 2001 From: Mike Cifelli <1836280-mike-cifelli@users.noreply.gitlab.com> Date: Fri, 30 Dec 2022 16:16:48 -0500 Subject: [PATCH] Update weather display --- colors.py | 15 ++++++++------- weather_display.py | 6 +++--- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/colors.py b/colors.py index 7b7f3a9..e7ff588 100644 --- a/colors.py +++ b/colors.py @@ -1,8 +1,9 @@ -BLACK = [0, 0, 0 ] -WHITE = [255, 255, 255] -GRAY = [50, 50, 50 ] -RED = [255, 0, 0 ] -PINK = [255, 0, 64 ] -GREEN = [0, 255, 0 ] -BLUE = [0, 64, 128] +BLACK = [0, 0, 0 ] +WHITE = [255, 255, 255] +GRAY = [50, 50, 50 ] +RED = [255, 0, 0 ] +ORANGE = [255, 64, 0 ] +PINK = [255, 0, 64 ] +GREEN = [0, 255, 0 ] +BLUE = [0, 64, 128] diff --git a/weather_display.py b/weather_display.py index 634f354..5309d6b 100644 --- a/weather_display.py +++ b/weather_display.py @@ -5,11 +5,11 @@ class WeatherDisplay: def __init__(self, characterDisplay, topRow): self.characterDisplay = characterDisplay self.topRow = topRow - self.twoDigitStartColumn = 5 - self.oneDigitStartColumn = 9 + self.twoDigitStartColumn = 4 + self.oneDigitStartColumn = 8 self.digitWidth = 4 self.currentTemperature = '' - self.color = colors.BLUE + self.color = colors.ORANGE self.weatherFile = 'weather.txt' def showWeather(self):