Skip to content

Remove usage of the set vertical_scroll Display constructor parameter. #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions adafruit_ssd1325.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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,
Expand Down