Skip to content

Commit 2c09846

Browse files
authored
Merge pull request #13 from lesamouraipourpre/vertical-scroll
Remove usage of the set vertical_scroll Display constructor parameter.
2 parents 8807d5b + 25ab460 commit 2c09846

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

adafruit_ssd1325.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,14 @@
5454

5555
# pylint: disable=too-few-public-methods
5656
class SSD1325(displayio.Display):
57-
"""SSD1325 driver"""
57+
"""
58+
SSD1325 driver
59+
60+
:param int width: The width of the display
61+
:param int height: The height of the display
62+
:param int rotation: The rotation of the display in degrees. Default is 0. Must be one of
63+
(0, 90, 180, 270)
64+
"""
5865

5966
def __init__(self, bus, **kwargs):
6067
# Patch the init sequence for 32 pixel high displays.
@@ -71,7 +78,6 @@ def __init__(self, bus, **kwargs):
7178
grayscale=True,
7279
set_column_command=0x15,
7380
set_row_command=0x75,
74-
set_vertical_scroll=0xD3,
7581
data_as_commands=True,
7682
brightness_command=0x81,
7783
single_byte_bounds=True,

0 commit comments

Comments
 (0)