So now i modified library from this link but can get lit only 2 rows. First row on upper half and first row on lower half.
//Constructor
RGBmatrixPanel::RGBmatrixPanel(
uint8_t a, uint8_t b, uint8_t c,
uint8_t sclk, uint8_t latch, uint8_t oe, boolean dbuf, uint8_t pwidth) :
Adafruit_GFX(32 * pwidth, 32)
{
init(16, a, b, c, sclk, latch, oe, dbuf, pwidth);
}
// Custom shifting in drawPixel()
shift = 0;
if (x>15) shift+=16;
if (y==1 || y==17 ) shift += 32 * 3 * nPanels * nMultiplexRows; // row 1
if (y==2 || y==18) shift += 64 * 3 * nPanels * nMultiplexRows; // row 2
if (y==3 || y==19) shift += 96 * 3 * nPanels * nMultiplexRows; // row 3
if (y==4 || y==20) shift += 128 * 3 * nPanels * nMultiplexRows; // row 4
if (y==5 || y==21) shift += 160 * 3 * nPanels * nMultiplexRows; // row 5
if (y==6 || y==22) shift += 192 * 3 * nPanels * nMultiplexRows; // row 6
if (y==7 || y==23) shift += 224 * 3 * nPanels * nMultiplexRows; // row 7
if (y==8 || y==24) shift += 256* 3 * nPanels * nMultiplexRows; // row 8
if (y==9 || y==25) shift += 288* 3 * nPanels * nMultiplexRows; // row 9
if (y==10 || y==26) shift += 320* 3 * nPanels * nMultiplexRows; // row 10
if (y==11 || y==27) shift += 352* 3 * nPanels * nMultiplexRows; // row 11
if (y==12 || y==28) shift += 384* 3 * nPanels * nMultiplexRows; // row 12
if (y==13 || y==29) shift += 416* 3 * nPanels * nMultiplexRows; // row 13
if (y==14 || y==30) shift += 448* 3 * nPanels * nMultiplexRows; // row 14
if (y==15 || y==31) shift += 480* 3 * nPanels * nMultiplexRows; // row 15
if (y==16 || y==32) shift += 512* 3 * nPanels * nMultiplexRows; // row 16
//Displaying content
matrix.print("1236567890");
matrix.print("0987654");
Seems like the colors are ok because the middle 8 rows and bottom rows are hidden
but the numbers seems to be there
