Skip to content

Commit b02a6cd

Browse files
authored
Merge pull request #1634 from lesamouraipourpre/altimeter
CLUE Altimeter: Update for CP7
2 parents 3ae9de8 + ed1d1cc commit b02a6cd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

CLUE_Altimeter/clue_altimeter.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import terminalio
55
from microcontroller import nvm
66
from adafruit_display_text import label
7-
from adafruit_bitmap_font import bitmap_font
87
import adafruit_imageload
98
from adafruit_clue import clue
109

@@ -38,7 +37,7 @@
3837
# --------------------------------------------------------------------
3938

4039
# create main display group
41-
splash = displayio.Group(max_size=4)
40+
splash = displayio.Group()
4241
clue.display.show(splash)
4342

4443
# background
@@ -52,7 +51,7 @@
5251
background = displayio.TileGrid(bg_bmp, pixel_shader=bg_pal)
5352

5453
# a group for both altitude readouts
55-
alti_readouts = displayio.Group(max_size=2, scale=6)
54+
alti_readouts = displayio.Group(scale=6)
5655

5756
# altitude (corrected)
5857
alti_disp = label.Label(FONT, text="12345", color=ORANGE)

0 commit comments

Comments
 (0)