This is library version adapted for monocrome displays.
Original PxMatrix library (for RGB displays) - https://github.com/2dom/PxMatrix
Here is an example of matrix array in configuration of 2 by 6:
(Note that this particular display was acquired from a local dumpster for free so be lenient that some leds are worn out or damaged).
Project sources: https://github.com/hackerembassy/led-matrix-display
Monochrome display matrix 16x32 usally has HUB12 header.
Older single or double color displays can have HUB08 with a different pinout. They should be sofrware compatible but not tested.
Full color displays with HUB75 headers can be driven with .
P10 matrix display hardware with schematics: https://gr33nonline.wordpress.com/2020/01/16/p10-displays/
Shift registers layout in monochrome P10 displays: https://forum.arduino.cc/t/p10-led-matrix-panels-16x32/251251/13
Each row required to have a separate latch signal. Data and scan control lines are shared. Signal wires from MCU board should be connected to the first column. Next columns are connected with a daisy chaining between modules.
Example for two rows configutation (showing headers of the first column):
If you got issues with noise, ghosting or jittering try to shorten the wiring or/and use dedicated ground wire in pair for DATA and CLOCK signal wires.