8x8 Matrix LED problem

Did you use a common anode or a common cathode matrix?