Because you don't have Resistors to the Common Anodes, if you switch-ON any LED segment for more than a few mS, the current draw will be sufficient to deplete the 1uF Capacitor and your supply will be marginal for operating the PIC.
I suggest three changes...
1. Increase the 1uF to 10uF
2. Put 180R Resistor in each Common Anode
3. Put a 100nF Capacitor between Vss and Vdd as close to the PIC as possible.
Bookmarks