5x7 LED Matrix Issue

Sorry, that picture is from when i changed the code for all pins to be HIGH, it is the only thing that makes a difference to the matrix