Skip to content

Commit e365084

Browse files
Remove usage of the set_vertical_scroll Display constructor parameter.
Minor docs improvements.
1 parent 10b4b81 commit e365084

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

adafruit_ssd1322.py

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

6565
# pylint: disable=too-few-public-methods
6666
class SSD1322(displayio.Display):
67-
"""SSD1322 driver"""
67+
"""
68+
SSD1322 driver
69+
70+
:param int width: The width of the display
71+
:param int height: The height of the display
72+
:param int rotation: The rotation of the display in degrees. Default is 0. Must be one of
73+
(0, 90, 180, 270)
74+
"""
6875

6976
def __init__(self, bus, **kwargs):
7077
# Patch the init sequence for 32 pixel high displays.
@@ -81,7 +88,6 @@ def __init__(self, bus, **kwargs):
8188
grayscale=True,
8289
set_column_command=0x15,
8390
set_row_command=0x75,
84-
set_vertical_scroll=0xD3,
8591
write_ram_command=0x5C,
8692
single_byte_bounds=True,
8793
reverse_pixels_in_byte=True,

0 commit comments

Comments
 (0)