We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12d5c11 commit 90ae502Copy full SHA for 90ae502
examples/pyportal.py
@@ -1,10 +1,9 @@
1
+import os
2
+import time
3
import board
4
import displayio
-import os
-import gc
5
import pulseio
6
-import random
7
-import time
+
8
import microcontroller
9
10
from adafruit_bitmap_font import bitmap_font
@@ -35,14 +34,12 @@
35
34
print("Font load {}".format(font.name))
36
area = TextArea(font, text=demo_text)
37
area.y = y
38
- splash.append(area.group)
+ splash.append(area)
39
40
y += area.height
41
42
# Wait for the image to load.
43
board.DISPLAY.wait_for_frame()
44
- gc.collect()
45
- print("mem free:", gc.mem_free())
46
47
# Wait forever
48
time.sleep(600)
0 commit comments