Merge pull request #2359 from adafruit/weather_updates
adding text update
This commit is contained in:
commit
1276083b2a
1 changed files with 1 additions and 0 deletions
|
|
@ -165,6 +165,7 @@ while True:
|
||||||
# checks if it's day or night based on hour
|
# checks if it's day or night based on hour
|
||||||
# & returns day or night version of sprite
|
# & returns day or night version of sprite
|
||||||
img = day_or_night(new_time)
|
img = day_or_night(new_time)
|
||||||
|
label.text = " %s°%s " % (temp, temp_unit)
|
||||||
# reset clock
|
# reset clock
|
||||||
clock = ticks_add(clock, weather_check)
|
clock = ticks_add(clock, weather_check)
|
||||||
# draw bitmap sprite
|
# draw bitmap sprite
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue