Skip to content

Commit 90ae502

Browse files
committed
Lint example
1 parent 12d5c11 commit 90ae502

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

examples/pyportal.py

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1+
import os
2+
import time
13
import board
24
import displayio
3-
import os
4-
import gc
55
import pulseio
6-
import random
7-
import time
6+
87
import microcontroller
98

109
from adafruit_bitmap_font import bitmap_font
@@ -35,14 +34,12 @@
3534
print("Font load {}".format(font.name))
3635
area = TextArea(font, text=demo_text)
3736
area.y = y
38-
splash.append(area.group)
37+
splash.append(area)
3938

4039
y += area.height
4140

4241
# Wait for the image to load.
4342
board.DISPLAY.wait_for_frame()
44-
gc.collect()
45-
print("mem free:", gc.mem_free())
4643

4744
# Wait forever
4845
time.sleep(600)

0 commit comments

Comments
 (0)