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.
1 parent c1a7185 commit a240b86Copy full SHA for a240b86
adafruit_ssd1327.py
@@ -53,9 +53,14 @@
53
54
# pylint: disable=too-few-public-methods
55
class SSD1327(displayio.Display):
56
- """SSD1327 driver"""
+ """SSD1327 driver
57
+ kwargs:
58
+ param: height in pixels
59
+ param: width in pixels
60
+ param: optional rotation : 0 < rotation < 180 results in 90 degree rotation
61
+ """
62
- def __init__(self, bus, **kwargs):
63
+ def __init__(self, bus: displayio.I2CDisplay, **kwargs) -> None:
64
# Patch the init sequence for 32 pixel high displays.
65
init_sequence = bytearray(_INIT_SEQUENCE)
66
height = kwargs["height"]
0 commit comments