We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c1a7185 + 0142c76 commit 9859527Copy full SHA for 9859527
adafruit_ssd1327.py
@@ -51,11 +51,19 @@
51
b"\xAF\x00" # DISPLAY_ON
52
)
53
54
+
55
# pylint: disable=too-few-public-methods
56
class SSD1327(displayio.Display):
- """SSD1327 driver"""
57
+ """SSD1327 driver
58
59
+ :param ~displayio.I2CDisplay bus: The data bus the display is on
60
+ :param int height: (keyword-only) The height of the screen
61
+ :param int width: (keyword-only) The width of the screen
62
+ :param int rotation: (keyword-only) The rotation/orientation of the
63
+ screen, in degrees
64
+ """
65
- def __init__(self, bus, **kwargs):
66
+ def __init__(self, bus: displayio.I2CDisplay, **kwargs) -> None:
67
# Patch the init sequence for 32 pixel high displays.
68
init_sequence = bytearray(_INIT_SEQUENCE)
69
height = kwargs["height"]
0 commit comments