Open flow1986 opened 4 years ago
I would think the best way is to modify 'LEDMatrix.h' to add a new MatrixType such as DIAGONAL_MATRIX and to modify the 'mXY' function whose definition starts at line 70. The 'mXY(x, y)' function takes the X/Y coordinate and returns the LED number. The easiest way to do this would be to rely on a fixed matrix size and include a const X/Y array that contains the LED number or you could work out a calculated way of deriving the LED number but this would look to be difficult for varying matrix sizes.
Hi, is it possible to use a custom Matrix schema?
i wired my 16x16 matrix diagonal zig zag (to get the right space between the pixels)
See below (but with 16 insteadt of 8 pixels)
01-02-06-07-15-16-28-29 03-05-08-14-17-27-30-43 04-09-13-18-26-31-42-44 10-12-19-25-32-41-45-54 11-20-24-33-40-46-53-55 21-23-34-39-47-52-56-61 22-35-38-48-51-57-60-62 36-37-49-50-58-59-63-64