Skip to content

Commit 9b20e31

Browse files
committed
rgbmatrix: also explain the order of rgb and addr pins
1 parent 18041ea commit 9b20e31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-bindings/rgbmatrix/RGBMatrix.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,8 @@ STATIC void preflight_pins_or_throw(uint8_t clock_pin, uint8_t *rgb_pins, uint8_
196196
//| :param int tile: In a multi-row matrix, the number of rows of panels
197197
//| :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
198198
//| :param bool serpentine: In a multi-row matrix, True when alternate rows of panels are rotated 180°, which can reduce wiring length
199-
//| :param Sequence[digitalio.DigitalInOut] rgb_pins: The matrix's RGB pins
200-
//| :param Sequence[digitalio.DigitalInOut] addr_pins: The matrix's address pins
199+
//| :param Sequence[digitalio.DigitalInOut] rgb_pins: The matrix's RGB pins in the order ``(R1,G1,B1,R2,G2,B2...)``
200+
//| :param Sequence[digitalio.DigitalInOut] addr_pins: The matrix's address pins in the order ``(A,B,C,D...)``
201201
//| :param digitalio.DigitalInOut clock_pin: The matrix's clock pin
202202
//| :param digitalio.DigitalInOut latch_pin: The matrix's latch pin
203203
//| :param digitalio.DigitalInOut output_enable_pin: The matrix's output enable pin

0 commit comments

Comments
 (0)