4 Digit 7 segment LED Display Question

Hi,

A quick test to see if it is common cathode or anode, as the pin out is the same for both models on the data sheet, Connect 5v, through your resistor, to pin 1 of the package and gnd to pin 12, if a segment lights up it is common cathode, if not swap the connections (5v to 12 ground to 1) and the segment should then light up and it is common anode.

I am confused as to how you have wired it up though,
Either it is wired differently to your diagram or it is not the correct datasheet or the pins are numbered in a very unconventional way.

You say you have the top bar and bottom bar active, using pins 2 and 7 of the arduino.

The top bar is segment 'A' and the bottom segment 'D' on pins 11 and 2 of the display, the package in the data sheet is 12 pins (1 row of 6 each side) so pin 11 and 2 should be on opposite sides to each other...