New around with a strange problem(8x8 matrix)

Post your schematic & code. We can only guess otherwise.