Skip to content

Commit b88f46e

Browse files
committed
Pimoroni Display Pack examples - fix formatting
1 parent 20022be commit b88f46e

2 files changed

+12
-2
lines changed

examples/st7789_240x135_simpletest_Pimoroni_Pico_Display_Pack.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,13 @@
3939
display_bus = FourWire(spi, command=tft_dc, chip_select=tft_cs)
4040

4141
display = ST7789(
42-
display_bus, rotation=270, width=240, height=135, rowstart=40, colstart=53, backlight_pin=backlight
42+
display_bus,
43+
rotation=270,
44+
width=240,
45+
height=135,
46+
rowstart=40,
47+
colstart=53,
48+
backlight_pin=backlight,
4349
)
4450

4551
# Set the backlight

examples/st7789_320x240_simpletest_Pimoroni_Pico_Display_2_0.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@
3232
display_bus = FourWire(spi, command=tft_dc, chip_select=tft_cs)
3333

3434
display = ST7789(
35-
display_bus, rotation=270, width=320, height=240, backlight_pin=backlight
35+
display_bus,
36+
rotation=270,
37+
width=320,
38+
height=240,
39+
backlight_pin=backlight,
3640
)
3741

3842
# Set the backlight

0 commit comments

Comments
 (0)