You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//| A RGBMatrix is often used in conjunction with a
189
193
//| `framebufferio.FramebufferDisplay`.
190
194
//|
195
+
//| On boards designed for use with RGBMatrix panels, ``board.MTX_ADDRESS`` is a tuple of all the address pins, and ``board.MTX_COMMON`` is a dictionary with ``rgb_pins``, ``clock_pin``, ``latch_pin``, and ``output_enable_pin``.
196
+
//| For panels that use fewer than the maximum number of address pins, "slice" ``MTX_ADDRESS`` to get the correct number of address pins.
197
+
//| Using these board properties makes calling the constructor simpler and more portable:
//| :param int width: The overall width of the whole matrix in pixels. For a matrix with multiple panels in row, this is the width of a single panel times the number of panels across.
192
204
//| :param int tile: In a multi-row matrix, the number of rows of panels
193
205
//| :param int bit_depth: The color depth of the matrix. A value of 1 gives 8 colors, a value of 2 gives 64 colors, and so on. Increasing bit depth increases the CPU and RAM usage of the RGBMatrix, and may lower the panel refresh rate. The framebuffer is always in RGB565 format regardless of the bit depth setting
194
206
//| :param bool serpentine: In a multi-row matrix, True when alternate rows of panels are rotated 180°, which can reduce wiring length
195
-
//| :param Sequence[digitalio.DigitalInOut] rgb_pins: The matrix's RGB pins
196
-
//| :param Sequence[digitalio.DigitalInOut] addr_pins: The matrix's address pins
207
+
//| :param Sequence[digitalio.DigitalInOut] rgb_pins: The matrix's RGB pins in the order ``(R1,G1,B1,R2,G2,B2...)``
208
+
//| :param Sequence[digitalio.DigitalInOut] addr_pins: The matrix's address pins in the order ``(A,B,C,D...)``
197
209
//| :param digitalio.DigitalInOut clock_pin: The matrix's clock pin
198
210
//| :param digitalio.DigitalInOut latch_pin: The matrix's latch pin
199
211
//| :param digitalio.DigitalInOut output_enable_pin: The matrix's output enable pin
0 commit comments