Skip to content

Commit 5212f30

Browse files
authored
Merge pull request #99 from Neradoc/fix-matrix-docs
Fix Matrix parameters documentation
2 parents f4ab0a7 + 04de7d5 commit 5212f30

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

adafruit_matrixportal/matrix.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,19 @@ class Matrix:
4141
"""Class representing the Adafruit RGB Matrix. This is used to automatically
4242
initialize the display.
4343
44-
:param int width: The width of the display in Pixels. Defaults to 64.
45-
:param int height: The height of the display in Pixels. Defaults to 32.
44+
:param int width: The total width of the display(s) in Pixels. Defaults to 64.
45+
:param int height: The total height of the display(s) in Pixels. Defaults to 32.
4646
:param int bit_depth: The number of bits per color channel. Defaults to 2.
4747
:param list alt_addr_pins: An alternate set of address pins to use. Defaults to None
4848
:param string color_order: A string containing the letter "R", "G", and "B" in the
4949
order you want. Defaults to "RGB"
50-
:param int width: The total width of the display(s) in Pixels. Defaults to 64.
51-
:param int height: The total height of the display(s) in Pixels. Defaults to 32.
52-
:param bool Serpentine: Used when panels are arranged in a serpentine pattern rather
50+
:param bool serpentine: Used when panels are arranged in a serpentine pattern rather
5351
than a Z-pattern. Defaults to True.
5452
:param int tiles_rows: Used to indicate the number of rows the panels are arranged in.
5553
Defaults to 1.
54+
:param int rotation: The rotation of the display in degrees clockwise.
55+
Must be in 90 degree increments (0, 90, 180, 270).
56+
Defaults to 0.
5657
"""
5758

5859
# pylint: disable=too-few-public-methods,too-many-branches,too-many-statements,too-many-locals

0 commit comments

Comments
 (0)