From 25ab460810a9358a15870d54321044ce326bb663 Mon Sep 17 00:00:00 2001 From: James Carr Date: Tue, 24 Aug 2021 16:28:32 +0100 Subject: [PATCH] Remove usage of the set vertical_scroll Display constructor parameter. Minor docs improvements. --- adafruit_ssd1325.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/adafruit_ssd1325.py b/adafruit_ssd1325.py index aa9af04..e403a63 100644 --- a/adafruit_ssd1325.py +++ b/adafruit_ssd1325.py @@ -54,7 +54,14 @@ # pylint: disable=too-few-public-methods class SSD1325(displayio.Display): - """SSD1325 driver""" + """ + SSD1325 driver + + :param int width: The width of the display + :param int height: The height of the display + :param int rotation: The rotation of the display in degrees. Default is 0. Must be one of + (0, 90, 180, 270) + """ def __init__(self, bus, **kwargs): # Patch the init sequence for 32 pixel high displays. @@ -71,7 +78,6 @@ def __init__(self, bus, **kwargs): grayscale=True, set_column_command=0x15, set_row_command=0x75, - set_vertical_scroll=0xD3, data_as_commands=True, brightness_command=0x81, single_byte_bounds=True,