diff --git a/pyportal_pet_planter/code.py b/pyportal_pet_planter/code.py index 7862d0514..9b107998d 100755 --- a/pyportal_pet_planter/code.py +++ b/pyportal_pet_planter/code.py @@ -83,7 +83,7 @@ pyportal.set_backlight(0.5) # Create a new DisplayIO group -splash = displayio.Group(max_size=15) +splash = displayio.Group() # show splash group display.show(splash) @@ -132,19 +132,19 @@ font_small.load_glyphs(full_glyphs) # Label to display Adafruit IO status -label_status = Label(font_small, max_glyphs=20) +label_status = Label(font_small) label_status.x = 305 label_status.y = 10 splash.append(label_status) # Create a label to display the temperature -label_temp = Label(font, max_glyphs=4) +label_temp = Label(font) label_temp.x = 35 label_temp.y = 300 splash.append(label_temp) # Create a label to display the water level -label_level = Label(font, max_glyphs=4) +label_level = Label(font) label_level.x = display.width - 130 label_level.y = 300 splash.append(label_level)