|
40 | 40 | raise |
41 | 41 |
|
42 | 42 | # Make the rgb group for setting rgb hex values for NeoPixels |
43 | | -rgb_group = displayio.Group(max_size=9) |
| 43 | +rgb_group = displayio.Group() |
44 | 44 | R_label = Label( |
45 | 45 | terminalio.FONT, |
46 | 46 | text=" +\nR:\n -", |
47 | 47 | color=0xFFFFFF, |
48 | | - anchor_point=((0, 0.5)), |
49 | | - anchored_position=((5, 120)), |
| 48 | + anchor_point=(0, 0.5), |
| 49 | + anchored_position=(5, 120), |
50 | 50 | scale=2, |
51 | 51 | ) |
52 | 52 | G_label = Label( |
53 | 53 | terminalio.FONT, |
54 | 54 | text=" +\nG:\n -", |
55 | 55 | color=0xFFFFFF, |
56 | | - anchor_point=((0, 0.5)), |
57 | | - anchored_position=((90, 120)), |
| 56 | + anchor_point=(0, 0.5), |
| 57 | + anchored_position=(90, 120), |
58 | 58 | scale=2, |
59 | 59 | ) |
60 | 60 | B_label = Label( |
61 | 61 | terminalio.FONT, |
62 | 62 | text=" +\nB:\n -", |
63 | 63 | color=0xFFFFFF, |
64 | | - anchor_point=((0, 0.5)), |
65 | | - anchored_position=((175, 120)), |
| 64 | + anchor_point=(0, 0.5), |
| 65 | + anchored_position=(175, 120), |
66 | 66 | scale=2, |
67 | 67 | ) |
68 | 68 | rgb_group.append(R_label) |
|
72 | 72 | terminalio.FONT, |
73 | 73 | text="00", |
74 | 74 | color=0xFFFFFF, |
75 | | - anchor_point=((0, 0.5)), |
76 | | - anchored_position=((35, 120)), |
| 75 | + anchor_point=(0, 0.5), |
| 76 | + anchored_position=(35, 120), |
77 | 77 | scale=2, |
78 | 78 | ) |
79 | 79 | G = Label( |
80 | 80 | terminalio.FONT, |
81 | 81 | text="00", |
82 | 82 | color=0xFFFFFF, |
83 | | - anchor_point=((0, 0.5)), |
84 | | - anchored_position=((120, 120)), |
| 83 | + anchor_point=(0, 0.5), |
| 84 | + anchored_position=(120, 120), |
85 | 85 | scale=2, |
86 | 86 | ) |
87 | 87 | B = Label( |
88 | 88 | terminalio.FONT, |
89 | 89 | text="00", |
90 | 90 | color=0xFFFFFF, |
91 | | - anchor_point=((0, 0.5)), |
92 | | - anchored_position=((205, 120)), |
| 91 | + anchor_point=(0, 0.5), |
| 92 | + anchored_position=(205, 120), |
93 | 93 | scale=2, |
94 | 94 | ) |
95 | 95 | rgb_group.append(R) |
|
0 commit comments