|
6 | 6 | from adafruit_display_text.label import Label |
7 | 7 | from adafruit_hid.keyboard import Keyboard |
8 | 8 | from adafruit_hid.keyboard_layout_us import KeyboardLayoutUS |
9 | | -from adafruit_hid.keycode import Keycode |
10 | 9 | from jepler_udecimal import Decimal, getcontext, localcontext |
11 | | -import jepler_udecimal.utrig |
12 | 10 | import board |
13 | 11 | import digitalio |
14 | 12 | import displayio |
15 | 13 | import framebufferio |
16 | 14 | import microcontroller |
17 | 15 | import sharpdisplay |
18 | | -import supervisor |
19 | 16 | import terminalio |
20 | 17 |
|
21 | 18 | try: |
@@ -199,15 +196,15 @@ def __init__(self): |
199 | 196 | self.keyboard = None |
200 | 197 | self.keyboard_layout = None |
201 | 198 |
|
202 | | - g = displayio.Group(max_size=7) |
| 199 | + g = displayio.Group() |
203 | 200 |
|
204 | 201 | self.labels = labels = [] |
205 | | - labels.append(Label(terminalio.FONT, max_glyphs=32, scale=2, color=0)) |
206 | | - labels.append(Label(terminalio.FONT, max_glyphs=32, scale=3, color=0)) |
207 | | - labels.append(Label(terminalio.FONT, max_glyphs=32, scale=3, color=0)) |
208 | | - labels.append(Label(terminalio.FONT, max_glyphs=32, scale=3, color=0)) |
209 | | - labels.append(Label(terminalio.FONT, max_glyphs=32, scale=3, color=0)) |
210 | | - labels.append(Label(terminalio.FONT, max_glyphs=32, scale=3, color=0)) |
| 202 | + labels.append(Label(terminalio.FONT, scale=2, color=0)) |
| 203 | + labels.append(Label(terminalio.FONT, scale=3, color=0)) |
| 204 | + labels.append(Label(terminalio.FONT, scale=3, color=0)) |
| 205 | + labels.append(Label(terminalio.FONT, scale=3, color=0)) |
| 206 | + labels.append(Label(terminalio.FONT, scale=3, color=0)) |
| 207 | + labels.append(Label(terminalio.FONT, scale=3, color=0)) |
211 | 208 |
|
212 | 209 | for li in labels: |
213 | 210 | g.append(li) |
|
0 commit comments