Update weather display
This commit is contained in:
parent
158be1a0f0
commit
e962b59d4e
|
@ -2,6 +2,7 @@ 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]
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue