Merge pull request #2359 from adafruit/weather_updates

adding text update
This commit is contained in:
Dan Halbert 2022-12-17 00:11:28 -05:00 committed by GitHub
commit 1276083b2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -165,6 +165,7 @@ while True:
# checks if it's day or night based on hour
# & returns day or night version of sprite
img = day_or_night(new_time)
label.text = " %s°%s " % (temp, temp_unit)
# reset clock
clock = ticks_add(clock, weather_check)
# draw bitmap sprite