8x8 Led matrix programing issue?

"delay()" is the devil's function. You need to exorcise it from the code.