Skip to content

Commit 6fe04eb

Browse files
committed
Added documentation
1 parent 409eff3 commit 6fe04eb

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

adafruit_il0373.py

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,25 @@
6969
)
7070
# pylint: disable=too-few-public-methods
7171
class IL0373(displayio.EPaperDisplay):
72-
"""IL0373 driver"""
72+
r"""IL0373 driver
73+
74+
:param bus: The data bus the display is on
75+
:param bool swap_rams: Color and black rams/commands are swapped
76+
:param \**kwargs:
77+
See below
78+
79+
:Keyword Arguments:
80+
* *width* (``int``) --
81+
Display width
82+
* *height* (``int``) --
83+
Display height
84+
* *rotation* (``int``) --
85+
Display rotation
86+
* *color_bits_inverted* (``bool``) --
87+
Invert color bit values
88+
* *black_bits_inverted* (``bool``) --
89+
Invert black bit values
90+
"""
7391
def __init__(self, bus, swap_rams=False, **kwargs):
7492
start_sequence = bytearray(_START_SEQUENCE)
7593

0 commit comments

Comments
 (0)