Beware of connecting the display anode pin to higher than +5V, this can result in the PIC chip output pins receiving higher than 5V on the output pins, something it may not like. It can cause current flow into the pins that disrupts the PIC's power scheme or even trigger a latch-up condition that can destroy the PIC. LEDs typically have a 2 to 3 volt forward voltage drop through them, so a +12V anode means the cathodes would have 9 to 10 volts on them. The PIC output pin drivers may have the equivalent of a diode anode on the pin with it's cathode going to the +5V supply, so 9 volts from the LED cathode could produce 8 volts or so on the PICs internal +5V rails. Normally a 12V connected display would use a special driver circuit on the PIC output pins to avoid this. As simple as an NPN transistor and two resistors per LED segment. Or another IC.