Skip to content

Commit

Permalink
Pimoroni Display Pack examples - fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
helgibbons committed Apr 12, 2024
1 parent 20022be commit b88f46e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,13 @@
display_bus = FourWire(spi, command=tft_dc, chip_select=tft_cs)

display = ST7789(
display_bus, rotation=270, width=240, height=135, rowstart=40, colstart=53, backlight_pin=backlight
display_bus,
rotation=270,
width=240,
height=135,
rowstart=40,
colstart=53,
backlight_pin=backlight,
)

# Set the backlight
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@
display_bus = FourWire(spi, command=tft_dc, chip_select=tft_cs)

display = ST7789(
display_bus, rotation=270, width=320, height=240, backlight_pin=backlight
display_bus,
rotation=270,
width=320,
height=240,
backlight_pin=backlight,
)

# Set the backlight
Expand Down

0 comments on commit b88f46e

Please sign in to comment.