5x7 LED Matrix Issue

The pin numbers I gave above correspond to those 14 pins.