Weird issue with 64x64 Waveshare LED panel and Arduino Mega 2560

Code and a schematic might help you get help.