Adafruit matrice problem 32x32

Hello, I recently bought a 32x32 RGB LED matrix from Adafruit. For the Controller I decided to use an LPC1768. After installing the library (which is normally made for 16x32: it did not work. After doing some manipulation in the libraries and applying the following modules (see link: I find myself with a half functional screen. Indeed you can see that the top part (16x32) works perfectly but it is impossible to display anything below this limit. And also it gives me a “mirror effect” on the unusable part and only in green color

. Could you explain to me what I did wrong and why it does not work?