Skip to content

Commit 1276083

Browse files
authored
Merge pull request #2359 from adafruit/weather_updates
adding text update
2 parents 0d6b352 + 18d8646 commit 1276083

File tree

1 file changed

+1
-0
lines changed
  • NeoPixel_Sprite_Weather_Display

1 file changed

+1
-0
lines changed

NeoPixel_Sprite_Weather_Display/code.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,7 @@ def draw_sprite(c):
165165
# checks if it's day or night based on hour
166166
# & returns day or night version of sprite
167167
img = day_or_night(new_time)
168+
label.text = " %s°%s " % (temp, temp_unit)
168169
# reset clock
169170
clock = ticks_add(clock, weather_check)
170171
# draw bitmap sprite

0 commit comments

Comments
 (0)