Skip to content

Commit 18d8646

Browse files
committed
adding text update
while running the project i realized i had forgotten the text update line after adding in the functions
1 parent d5a9e9a commit 18d8646

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)