File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 8383pyportal .set_backlight (0.5 )
8484
8585# Create a new DisplayIO group
86- splash = displayio .Group (max_size = 15 )
86+ splash = displayio .Group ()
8787
8888# show splash group
8989display .show (splash )
132132font_small .load_glyphs (full_glyphs )
133133
134134# Label to display Adafruit IO status
135- label_status = Label (font_small , max_glyphs = 20 )
135+ label_status = Label (font_small )
136136label_status .x = 305
137137label_status .y = 10
138138splash .append (label_status )
139139
140140# Create a label to display the temperature
141- label_temp = Label (font , max_glyphs = 4 )
141+ label_temp = Label (font )
142142label_temp .x = 35
143143label_temp .y = 300
144144splash .append (label_temp )
145145
146146# Create a label to display the water level
147- label_level = Label (font , max_glyphs = 4 )
147+ label_level = Label (font )
148148label_level .x = display .width - 130
149149label_level .y = 300
150150splash .append (label_level )
You can’t perform that action at this time.
0 commit comments