Skip to content

Commit 20dc9f3

Browse files
committed
code format. move import to apease pylint
1 parent fe87096 commit 20dc9f3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/st7789_172x320_1.47_simpletest.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
background, a smaller purple rectangle, and some yellow text.
77
"""
88
import board
9-
import busio
109
import terminalio
1110
import displayio
1211
from adafruit_display_text import label
@@ -19,16 +18,17 @@
1918
# Release any resources currently in use for the displays
2019
displayio.release_displays()
2120

22-
# built-in, silkscreen labelled SPI bus
21+
# built-in, silkscreen labelled SPI bus
2322
spi = board.SPI()
2423
tft_cs = board.D5
2524
tft_dc = board.D6
2625
tft_rst = board.D9
2726

28-
# If using a Raspberry Pi Pico or Pico-w
29-
# Uncomment the below code to use GP (General Purpose) pins
27+
# If using a Raspberry Pi Pico or Pico-w
28+
# Uncomment the below code to use GP (General Purpose) pins
3029
# instead of D (Digital)
3130

31+
# import busio
3232
# spi = busio.SPI(board.GP2, board.GP3, board.GP4)
3333
# tft_cs = board.GP5
3434
# tft_dc = board.GP6

0 commit comments

Comments
 (0)