mirror of
https://github.com/pimoroni/st7735-python.git
synced 2025-01-05 22:40:25 +03:00
Indentation changes for Stickier CI
This commit is contained in:
@@ -123,7 +123,8 @@ class ST7735(object):
|
||||
"""Representation of an ST7735 TFT LCD."""
|
||||
|
||||
def __init__(self, port, cs, dc, backlight=None, rst=None, width=ST7735_TFTWIDTH,
|
||||
height=ST7735_TFTHEIGHT, rotation=90, mirror=False, offset_left=None, offset_top=None, invert=True, spi_speed_hz=4000000):
|
||||
height=ST7735_TFTHEIGHT, rotation=90, mirror=False, offset_left=None,
|
||||
offset_top=None, invert=True, spi_speed_hz=4000000):
|
||||
"""Create an instance of the display using SPI communication.
|
||||
|
||||
Must provide the GPIO pin number for the D/C pin and the SPI driver.
|
||||
|
||||
Reference in New Issue
Block a user