From b88f46e2b3f2e58d4c86ca0b6f743bd77027be33 Mon Sep 17 00:00:00 2001 From: helgibbons <50950368+helgibbons@users.noreply.github.com> Date: Fri, 12 Apr 2024 15:15:55 +0100 Subject: [PATCH] Pimoroni Display Pack examples - fix formatting --- ...t7789_240x135_simpletest_Pimoroni_Pico_Display_Pack.py | 8 +++++++- ...st7789_320x240_simpletest_Pimoroni_Pico_Display_2_0.py | 6 +++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/examples/st7789_240x135_simpletest_Pimoroni_Pico_Display_Pack.py b/examples/st7789_240x135_simpletest_Pimoroni_Pico_Display_Pack.py index 3dcce87..c4209df 100644 --- a/examples/st7789_240x135_simpletest_Pimoroni_Pico_Display_Pack.py +++ b/examples/st7789_240x135_simpletest_Pimoroni_Pico_Display_Pack.py @@ -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 diff --git a/examples/st7789_320x240_simpletest_Pimoroni_Pico_Display_2_0.py b/examples/st7789_320x240_simpletest_Pimoroni_Pico_Display_2_0.py index 4d0ab6f..9f92b96 100644 --- a/examples/st7789_320x240_simpletest_Pimoroni_Pico_Display_2_0.py +++ b/examples/st7789_320x240_simpletest_Pimoroni_Pico_Display_2_0.py @@ -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