Skip to content

Commit 2b22b10

Browse files
committed
code format
1 parent 54f169e commit 2b22b10

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
@@ -18,9 +18,9 @@
1818
# Release any resources currently in use for the displays
1919
displayio.release_displays()
2020

21-
tft_cs = board.GP5 #board.D5
22-
tft_dc = board.GP6 #board.D6
23-
tft_rst = board.GP7 #board.D7
21+
tft_cs = board.GP5 # board.D5
22+
tft_dc = board.GP6 # board.D6
23+
tft_rst = board.GP7 # board.D7
2424

2525
spi = busio.SPI(board.GP2, board.GP3, board.GP4)
2626
display_bus = displayio.FourWire(spi, command=tft_dc, chip_select=tft_cs, reset=tft_rst)
@@ -35,7 +35,7 @@
3535
color_palette = displayio.Palette(1)
3636
color_palette[0] = 0x00FF00 # Bright Green
3737
bg_sprite = displayio.TileGrid(color_bitmap, pixel_shader=color_palette, x=0, y=0)
38-
splash.append(bg_sprite)
38+
splash.append(bg_sprite)
3939

4040
# Draw a smaller inner rectangle
4141
inner_bitmap = displayio.Bitmap(

0 commit comments

Comments
 (0)